HighTechTalks DotNet Forums  

"Default" button in Mobile form

ASP.net Mobile microsoft.public.dotnet.framework.aspnet.mobile


Discuss "Default" button in Mobile form in the ASP.net Mobile forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
José Araujo
 
Posts: n/a

Default "Default" button in Mobile form - 10-07-2005 , 04:27 PM






Hi,

I have a mobile form with 2 command buttons, one label and one text box.

If I type something in the text box and press enter the form posts (and
that's what I want).

If I add another text box (just like the one that is already there), then
when I type (in any of box textboxes) and press enter the form posts but the
first command button onClick event runs in the server (and I don't want that
to happen).

It is like the first button is the default button, but it doesn't run when I
only have a text box and runs when I have two text boxes...

I do NOT want to have a default button at all.

Any ideas? Thanks, José Araujo.



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.