response.redirect from ashx file

Posted by Gopal_nivas under ASP.NET on 9/21/2010 | Points: 10 | Views : 5367 | Status : [Member] | Replies : 1
hi..

how to move to another page from ashx file..

i was tried below code

string url = "a.aspx";
HttpContext.Current.Response.Redirect(url);

but it doesnt work..

it shows error like"input string was not in a correct format"..


how to tackle this...

need ur suggestions with example..

regards
gopal.s




Responses

Posted by: Yjeevanrao on: 9/21/2010 [Member] Starter | Points: 25

Up
0
Down
this should work

context.Response.Redirect(url);

Regards,
Jeevan

Jeevan

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

Login to post response