Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hey Guys,

I have an asp.net web application and I am getting everything to fire with the newly added update panel except my ashx method. It will not fire or render, below is the code and any help would be great. It will work in Chrome and get called in chrome but not IE


C#
switch (iProof)
            {
                case -1:
                    imgProof.ImageUrl = sb.ToString();
                    break;
                case 0:
                    Session["H"] = imgProof.Height;
                    Session["W"] = imgProof.Width;
                    Session["B"] = imagename.ToString();
                    Session["S"] = sb.ToString();
                    imgProof.ImageUrl = "PShandler.ashx";
                    break;
                case 1:
                    imgProof.ImageUrl = sb.ToString();
                    break;
            }



specifically case 0
Posted
Updated 4-Jul-13 6:43am
v2
Comments
bobb024 4-Jul-13 12:43pm    
it will work in Chrome but not IE
bobb024 4-Jul-13 13:01pm    
I should also note that it works with the first request, but a change and then resubmission of the button does not work. i am drawing a PS proof inside a image from a form
bobb024 5-Jul-13 17:28pm    
IE is caching the image so they do not think that it is different seems to be the issue

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900