Author: roby.peng | Posted on: 1/30/2010 5:09:29 AM | Views : 233

I have a page with a few buttons and every button have an onClientClick event to run a javascript and in that javascript, I use a pagemethod bla2x. The process I want is when the user click that button, I want it updates the state of all button (i.e. which one should disabled and which one should enabled). Then, the problem occur, it seems it doesn't fire the button state method in server side. I did try using the pagemethod but since it's static, I can't fire the button state method. I also tried using the __doPostBack(linkButton.ClientID, "") function to fire the button state method and it still didn't fire. Last try, I also using the link button itself (i.e. linkButton.click() within PageMethod in javascript) and it still didn't fire too. So, anyone ever have a problem like me? Do you have any solution?
Thanks in advance. Roby.

...

Go to the complete details ...