Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
HttpHandler............. any help will be useful for me!!
Posted

As mentioned in Solution-1, Google is the wonderful source for searching. Really do not know why you need HttpHandler to call your c#/code-behind method using Javascript.

Instead you can simply use Ajax to do this. Have a look at my Tip/Trick on this topic.

Simplifying Asp.Net Core Ajax

If you want to learn what is HttpHandler and when should it be used, then have a look at below article.

The Two Interceptors: HttpModule and HttpHandlers
 
Share this answer
 
Comments
bbirajdar 11-Oct-12 11:39am    
Excellent.. I voted 5 for your tip too..

In addition to this I can suggest the OP can use Ajax PageMethods for calling the server side method from javascript... +5 for your solution
RaisKazi 11-Oct-12 11:49am    
Thank you, yep PageMethod is too applicable, just was bit lazy. :)
Since you are ready to accept any help , I am sending you this link click here[^]
 
Share this answer
 
Comments
fjdiewornncalwe 11-Oct-12 10:03am    
+5. Perfectly appropriate.
bbirajdar 11-Oct-12 10:32am    
Thank you Marcus.. :)
RaisKazi 11-Oct-12 11:26am    
Thats an interesting link, :) 5ed. Will be posting my answer soon, please have a look.
bbirajdar 11-Oct-12 11:36am    
Thanks RaisKazi. :) The motivw behind posting this link was to encourage the OPs to google before posting to CP . I expect the OPs to post specific questions only after they have tried something and facing some genuine difficulties..

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