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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Satyapriya NayakPosted Jan 4, 2012, 2:07 AM
Please refer the below link
http://dotnetbyexample.blogspot.com/2007/10/calling-asmx-web-services-directly-from.html
Thanks
Anuja PawarPosted Jan 4, 2012, 2:40 AM
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
mansoor altafPosted Jan 4, 2012, 2:33 AM
regards
Anuja PawarPosted Jan 4, 2012, 2:08 AM
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