Hi all, I have a image button in the update panel. I would like to call a method from server side (not from webservice) to get the variable when Onclick on the image button is invoked. Is there any way that I can able to access this function from the client script?
In using the UpdatePanel, in essence, you're already doing this because there will not be a full postback. You can make an asynchronous call to your Click method of your ImageButton. So, what do you want to do with this "variable"?
Christopher Reed
"The oxen are slow, but the earth is patient."
Yes there is a way. This is discussed here : http://www.asp.net/ajax/documentation/live/tutorials/ExposingWebServicesToAJAXTutorial.aspx
1.> Set the EnablePageMethods attribute to true
something like....
0
![]()
ericpanorel 6/25/2008 9:57:46 PM