What's the difference between calling .click() and actually clicking a button??
Posted on 2004-10-02
I have the following situation. I have a cancel button control on my page. The postback event clears the form and rebinds all the data.
And it coes cause the postback and it fires the postback event as expected... BUT.. The data is not refreshed! If I click the button with the mouse it is refreshed properly every time. I can tell by my trace log that the databinding events are firing.
Is there some difference between the two with regards to viewState or something like that?
Thanks - It is making me crazy. I can't figure out a way to refresh the opening page without the data being the same OR the stupid browser 'post data' prompt coming up.