|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
PREVENT an ASP.Net page from posting back when the ENTER key pressHow to PREVENT an ASP.Net page from
posting back when the ENTER key is pressed? I don't want to use client side script Thanks I am using one TextBox control inside GridView footer control to insert data.
If I press enter key on that TextBox contol it is now post backing, I want to somhow prevent that thanks Intech,
This might help. Check all the buttons on your form have usesubmitbehavior="false". Good Luck DWS Show quoteHide quote "Intech" wrote: > I am using one TextBox control inside GridView footer control to insert data. > If I press enter key on that TextBox contol it is now post backing, I want to > somhow prevent that > thanks I do not believe you can do without Javascript. By pressing the ENTER key,
you are performing a client-side action which triggers a client-side event (postback). -- Show quoteHide quoteChristopher A. Reed "The oxen are slow, but the earth is patient." "Intech" <Int***@discussions.microsoft.com> wrote in message news:F7388A07-BF00-435D-944F-0331379C00CE@microsoft.com... > How to PREVENT an ASP.Net page from > posting back when the ENTER key is pressed? > I don't want to use client side script > > Thanks >
GridView
When are Session Variables Available in PostBacks? Set OnClientClick programmatically ASP.Net newbie question - Buttons are not performong a postback Intercepting the GridView Datalist question... Panel Controls Which row in GridView_RowCommand?? WebParts drag/drop problems Control ID is changed within Content Control using Master Content |
|||||||||||||||||||||||