Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to reload a ashx handler ?

I have tried by using
new Uri(http://localhost:59087/AntiBotImage.ashx);
and it is not working.
Anybody have any idea pls share.......
Posted

1 solution

You don't call an ashx directly like an aspx page. Handlers are loaded and called via the ASP.NET pipeline to handle particular requests.
 
Share this answer
 
Comments
nitendrasingh 25-Apr-11 6:55am    
how to reload .ashx page in button click.
nitendrasingh 25-Apr-11 7:00am    
how to handle click events below submit button in the .ashx page.
context.Response.Write(
"<input type=submit name='Lookup'
value='Lookup'></input>");
[no name] 25-Apr-11 8:17am    
You don't reload a handler, and certainly not from a button click. An httphandler is typically used to process a request, such as to check authentication or process an special file type.

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