G
Guest
I have created a master page with a single asp:button that posts the page
without page validation.
On the content page, I have a variety of asp controls including text box,
drop down list controls and user controls. I also have a single button that
posts the page with page validation.
During the development of the page, I have tested the behavior of the
<Enter> key while in various controls and it did not cause a postback. Now,
after adding many controls, the <Enter> key now causes a postback with the
non-validating button's event (the one on the master page).
I have searched the project for 'autopostback' and it doesn't exist.
In short, what is causing the <Enter> key to do a postback when the cursor
is in a control with the autopostback property set to false???? Besides the
autopostback property of the controls, what effects the result of the user
pressing the <Enter> key. I do not want the <Enter> key to post back unless
the focus is on one of the buttons!
Thanks for any help.
without page validation.
On the content page, I have a variety of asp controls including text box,
drop down list controls and user controls. I also have a single button that
posts the page with page validation.
During the development of the page, I have tested the behavior of the
<Enter> key while in various controls and it did not cause a postback. Now,
after adding many controls, the <Enter> key now causes a postback with the
non-validating button's event (the one on the master page).
I have searched the project for 'autopostback' and it doesn't exist.
In short, what is causing the <Enter> key to do a postback when the cursor
is in a control with the autopostback property set to false???? Besides the
autopostback property of the controls, what effects the result of the user
pressing the <Enter> key. I do not want the <Enter> key to post back unless
the focus is on one of the buttons!
Thanks for any help.