Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 19, 2013 11:46 AM by jayesh_sorathia
Dec 15, 2012 09:40 AM|LINK
hi, experts, I am a newbie to use ashx
I found that (please correct me if I am wrong) each time the form post back , it must go through the code in ashx file, is it possible to skip those?
[actually, I am using jqgrid and web handler to get the data] , I find that it always post back.
Dec 16, 2012 02:10 PM|LINK
if you need every request to go through ashx then alternate solution would be to simply use HttpModule and check whether the Request.Method is post and do the task
Dec 16, 2012 02:12 PM|LINK
Jan 19, 2013 11:46 AM|LINK
HttpHandlers positions in the request-processing pipeline is different from HttpModules. Using HttpHandlers we can map to a specific file extension.
Handlers are the final stop for incoming HTTP requests and the point in the request processing pipeline that is responsible for serving the requested content or data like. HTML , ASPX page, plain text, or an image.
To download sample example on this