tags:

views:

13

answers:

0

i am making a application for upload an image and view image. i have an image control and a fileupload control on the page and two buttons, one for upload image and another for view image. it's all i am doing in a content page. Now when i click on upload button then i store that image in temp table, now i want to show image using handler class. when i call handler class method via using query string(Image1.imageurl = "~/ABC.ashx?id=" + id) then the handler method doesn't call. please tell me why? when i do debugging then i find that i create two session on inline code of master page so after (Image1.imageurl = "~/ABC.ashx?id=" + id) this line it goes that part of master page and after it shows result. so suggest me why handler class method doesn't call