Sep 17, 2008, 1:08 PM
Button AutoPostBack to "false"
I need some feedback...
For a while now I've been thinking of changing the default value of the the <ext:Button> .AutoPostBack property from "true" to "false".
Currently, the default AutoPostBack value is "true". If you click on the Button in a browser, the button will postback to the server. This currently reproduces the functionality of the <asp:Button>.
We want to strongly encourage using either the <Listeners> or <AjaxEvents> to handle the button "click" events. If an AutoPostBack is required with the <ext:Button>, the property would have to be explicitly set, similar to how all the other <asp> controls which support auto posting back to the server.
Again, the revision would involve changing the default value of the <ext:Button> .AutoPostBack property from "true" to "false".
Let me know what you think.
For a while now I've been thinking of changing the default value of the the <ext:Button> .AutoPostBack property from "true" to "false".
Currently, the default AutoPostBack value is "true". If you click on the Button in a browser, the button will postback to the server. This currently reproduces the functionality of the <asp:Button>.
We want to strongly encourage using either the <Listeners> or <AjaxEvents> to handle the button "click" events. If an AutoPostBack is required with the <ext:Button>, the property would have to be explicitly set, similar to how all the other <asp> controls which support auto posting back to the server.
Again, the revision would involve changing the default value of the <ext:Button> .AutoPostBack property from "true" to "false".
Let me know what you think.