how do dynamically load images from db to gridview without postback using .ashx

Posted by Kannan1986 under Regular Expressions on 5/31/2010 | Views : 1873 | Status : [Member] | Replies : 2
Hi all,

how do dynamically load images from db to gridview without postback using .ashx


Thanks & Regards,

kannan.s




Responses

Posted by: Vuyiswamb on: 5/31/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down

if you want partial post back you need to use Ajax, put your gridview inside an Update panel and have a trigger that will refresh the button, it might be a button inside an Update panel and you will not see any flickering .

Thank you for posting at Dotnetfunda
[Administrator]

Kannan1986, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Poster on: 5/31/2010 [Member] Starter

Up
0
Down
Hi Kannan,

I think you are looking for image generation using Generic handler.

Look at http://www.dotnetfunda.com/articles/article206.aspx or http://www.codeproject.com/KB/aspnet/CustomImageHandler.aspx article, this should solve your problem.

Thank



Kannan1986, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response