Ask a Question related to ASP.NET General, Design and Development.
-
Natty Gur #1
Re: why datagrid's itemcommand event fired when I press ENTER key in a TextBox
Hi,
When you press the ENTER key the default button pressed and since the
only button is the column template one a post back to the server
occurred. PostBack happened even if you have one textbox (I checked it)
If you want to disable this behavior you need to catch the KeyDown event
check for the key code and disable any ENTER press.
Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114
Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377
Know the overall picture
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Natty Gur Guest
-
DataGrid refreshes twice when ItemCommand fired
I have a dynamic grid w/ link buttons inside template coluns. The grid responds to the ItemCommand evt and the user can edit the relevant... -
ItemCommand not fired with LoadTemplate
Hello, I have extended a webserver control from the datagrid control. This datagrid adds an ItemTemplate dynamically via the LoadTemplate... -
Button.Init? how Do I know if click event has been fired? TextBox.TextChanged event before Button.Click in a CompositeCustomControl.
Hello I have the following situation: (everything is dynamic (controls.add)) 1. Button.Init { WasButtonClickFired = true } 2.... -
Using the DataGrid's ItemCreated event on PostBack
I have a DataGrid with a series of transactions and wish to highlight negative value items in red. This is simple on the initial DataBind, by using... -
Q: Textbox press Enter submit form (ASCX version)
Hello all, It's known to how to make user press enter in an asp:textbox and the form is submited by adding an attribute to the textbox with an...



Reply With Quote

