Ask a Question related to ASP.NET General, Design and Development.
-
Lee Swanson #1
server event not firing
I have a form with a single field and a submit button with a server event.
If I click the submit button, the event runs and everything is fine, if I
hit enter in the form, the server event does not fire!
Another wierd thing is, when I add a second text input field, the event
fires when I press enter.
I could change the button to a "button" so that the form wont submit unless
the button is clicked, but I want to be able to submit with an enter press.
Has anyone else come accross this problem?
Lee.
Lee Swanson Guest
-
Click Event Not Firing
In Framework 1.1 (VS 2003, C#) I've written a server control that contains a button. If I place the control on a page surface, it renders fine and... -
event firing problem
Hi IN my asp.net application (C#.net) i've grid control whith pagerstyle mode=numericpages. in codebehind page i've events for... -
Server Control - Datagrid paging event - not firing for previous pages
Hello All I am having a pretty wired problem...I am writing a web part (SPS 2003) that uses a Datagrid. In the web part, I create the datagird... -
firing event on server via javascript
Hi all is there any possiblity of doing this ? for example,i have handler procedure defined in codebehind : protected sub proc(sender as... -
OnItemDataBound event not firing
I am creating a Templated Data-Bound control. When the DataBind() method is called I would like the OnItemDataBound to fire. I can tell something... -
Victor Garcia Aprea [MVP] #2
Re: server event not firing
Yup, this has been addressed lots of times in the past. Search in
[url]http://groups.google.com[/url] with keywords like "hitting enter doesn't submit
form"
--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
[url]http://obies.com/vga/blog.aspx[/url]
To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
and not by private mail.
"Lee Swanson" <lee@nospam.ibc.com.au> wrote in message
news:uWsCnToSDHA.1320@TK2MSFTNGP12.phx.gbl...unless> I have a form with a single field and a submit button with a server event.
>
> If I click the submit button, the event runs and everything is fine, if I
> hit enter in the form, the server event does not fire!
>
> Another wierd thing is, when I add a second text input field, the event
> fires when I press enter.
>
> I could change the button to a "button" so that the form wont submitpress.> the button is clicked, but I want to be able to submit with an enter>
> Has anyone else come accross this problem?
>
> Lee.
>
>
Victor Garcia Aprea [MVP] Guest



Reply With Quote

