How to dynamically change the form's default banner property from UserControl in one page. The page has been loaded into a master page, in which the updated panel.
When trying to change the default button in UserControl's Load event, it is not changing.
if (the last page) {this.Page.Form.DefaultButton = btnSave.UniqueID; } And {this.page.form.edit button = btnx.nic.in; }
Excerpt from MSDN:
Scenarios are not supported during Asynchronous Postback to set the default Postback Button on the page:
Changing the default batten program back during an asynchronous post.
Can not you bring back the status of the form and then find out which button was clicked on, this What is the process instead of passing information?
No comments:
Post a Comment