Hi,
I was wondering if the set_text() client API call is intended to persist that value to the server on a postback. I am working on an adaptation of the single-click button example in the demonstrations. In the sample, the button text is set to something like "Processing..." in the OnClientClicked event, and then is returned to the previous value by the OnReponseEnd function of the RadAjaxManager.
The example we are trying to write is not Ajax enabled, so we expect the button to be placed back to its original value by virtue of the postback resetting the value to whatever was defined on the server side. We have been using this method with a standard ASP button that works fine when setting the .value property on the client side.
Using RadButton, though, setting set_text() appears to persist this value back to the server, and so then it is not changed back to the server-defined value when the post refreshes. Is there a way to keep that value from being posted back to the server or some other workaround?
Thanks,
Joel
I was wondering if the set_text() client API call is intended to persist that value to the server on a postback. I am working on an adaptation of the single-click button example in the demonstrations. In the sample, the button text is set to something like "Processing..." in the OnClientClicked event, and then is returned to the previous value by the OnReponseEnd function of the RadAjaxManager.
The example we are trying to write is not Ajax enabled, so we expect the button to be placed back to its original value by virtue of the postback resetting the value to whatever was defined on the server side. We have been using this method with a standard ASP button that works fine when setting the .value property on the client side.
Using RadButton, though, setting set_text() appears to persist this value back to the server, and so then it is not changed back to the server-defined value when the post refreshes. Is there a way to keep that value from being posted back to the server or some other workaround?
Thanks,
Joel