Welcome Guest Search | Active Topics | Sign In | Register

ashx image handler - image not saved in pdf Options
Jojo
Posted: Thursday, February 28, 2013 6:41:37 PM
Rank: Newbie
Groups: Member

Joined: 2/22/2013
Posts: 7
Hi there
I handle certain images from sql server and the output is ashx type image which displays well in the browser however it doesnt get rendered in pdf file created.
how would i achieve that?
eo_support
Posted: Thursday, February 28, 2013 7:24:59 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

You will want to debug your server side ashx code to see why it can not render the message. Usually it has to do with session data.

Thanks!
Jojo
Posted: Thursday, February 28, 2013 7:26:51 PM
Rank: Newbie
Groups: Member

Joined: 2/22/2013
Posts: 7
oh no it renders on the page fine it just wont save in the pdf. im using ASPXToPDF control too (even explicitly set it to visible in code behind)
Jojo
Posted: Thursday, February 28, 2013 7:46:44 PM
Rank: Newbie
Groups: Member

Joined: 2/22/2013
Posts: 7
well oddly enough adding <img> tag directly will render it in pdf but not when added through placeholder (added as object to control)
Jojo
Posted: Thursday, February 28, 2013 7:52:04 PM
Rank: Newbie
Groups: Member

Joined: 2/22/2013
Posts: 7
ok sorted it... added it via <asp:Image> and it renders fine in pdf file... (tho might be worth looking into the placeholder issue, however i understand it's not a very common to add it that way)
eo_support
Posted: Thursday, February 28, 2013 8:13:49 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
OK. Glad that it works for you. Please feel free to let us know if there is anything else.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.