hello.
i am new to webservices and asp.net.
i want that my button webcontrol should call the webservice without calling the pageload event again and again on every click, is it possible??
how??
thx in advance..
mansoor
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Jan 3, 2012, 9:07 PM EST
Please refer the below link
http://dotnetbyexample.blogspot.com/2007/10/calling-asmx-web-services-directly-from.html
Thanks
Anuja PawarRank #1,404 · 1.2K reputationPosted Jan 3, 2012, 9:08 PM EST
Yes you can call a webservice client side using javascript, or Ajax. In that case you can save post back of the button.
Read this simple article, will help you to build your base. Good Luck
http://www.semenoff.dk/en/Code-Corner/ASP.Net.AJAX/WebService-From-JavaScript.aspx
mansoor altaf67 reputationPosted Jan 3, 2012, 9:33 PM EST
regards
Anuja PawarRank #1,404 · 1.2K reputationPosted Jan 3, 2012, 9:40 PM EST
Update Panel is Ajax only. And you need javascript to call that. Please read this for more clarity
http://msdn.microsoft.com/en-us/library/bb398898.aspx
http://www.codeproject.com/KB/ajax/UsingAjaxBeyondUpdatePane.aspx