|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Enter Key form with many UserControlsI´m having this strange behavior and on´t know what else to try: - I have a aspx page with embeded usercontrol for header with some imagebuttons for pages in my site; - Other User Control for left navigation -And my content area with some textboxes and imagebutton for submit. All of then are inside a <form runat=server> tag Problem: When I enter some text in my fist or other textbox inside area and press the enter key it caches the first imagebutton of my header user control and not my submit button. This behavior is in all my forms ..... Any ideia what is wrong/missing? Thanks in Advance, Jaqueline Sousa Ya, that's annoying.
Client side script can solve this problem. You could use this free control. http://www.metabuilders.com/tools/DefaultButtons.aspx And here are a couple good articles on the subject: http://www.allasp.net/enterkey.aspx http://www.aspnetpro.com/features/2004/06/asp200406so_f/asp200406so_f.asp Show quoteHide quote "jaqueline" <jacqueline_so***@hotmail.com> wrote in message news:ef90e2e8.0504080938.4614b9ea@posting.google.com... > Hi All, > > I´m having this strange behavior and on´t know what else to try: > > - I have a aspx page with embeded usercontrol for header with some > imagebuttons for pages in my site; > > - Other User Control for left navigation > -And my content area with some textboxes and imagebutton for submit. > > All of then are inside a <form runat=server> tag > > Problem: > > When I enter some text in my fist or other textbox inside area and > press the enter key it caches the first imagebutton of my header user > control and not my submit button. This behavior is in all my forms > .... > > Any ideia what is wrong/missing? > > Thanks in Advance, > Jaqueline Sousa
Get Value of a control from my Own Control
Dynamically resize a DropDownList in a grid when dropped down How to call javascript when click update command(it Edit command c ASP datagrid not passing text to Excel Call Page from Control Parser Error asp:button Text= Looking for sorted list webcontrol Urgent User COntrol the process cannot access the file because it is being used by another process |
|||||||||||||||||||||||