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
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.
delaynomore
Member
10 Points
22 Posts
using ashx handler in web form (aspx)
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.
Mudasir.Khan
All-Star
15346 Points
3142 Posts
Re: using ashx handler in web form (aspx)
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
RameshRajend...
Star
7983 Points
2099 Posts
Re: using ashx handler in web form (aspx)
Dec 16, 2012 02:12 PM|LINK
refer
http://www.c-sharpcorner.com/uploadfile/prathore/what-is-an-ashx-file-handler-or-web-handler/
http://www.dotnetperls.com/ashx
jayesh_sorat...
Member
29 Points
13 Posts
Re: using ashx handler in web form (aspx)
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 click here...