Set Focus in EditItemTemplate text box...

Discussion in 'ASP .Net' started by Colin Basterfield, Jun 7, 2004.

  1. Hi,

    Is there a way to set the focus onto a text box that I have set up in my
    EditItemTemplate, so that the User can just start typing once they they have
    selected to Edit?

    Many thanks in advance
    Colin B
     
    Colin Basterfield, Jun 7, 2004
    #1
    1. Advertisements

  2. Colin Basterfield

    Cosmin Marin Guest

    Hi,

    You could write a little script to set the focus and run it after you start
    the edit (using Registerstartupscript, for instance).

    Cosmin

    "Colin Basterfield" <> wrote in message
    news:...
    > Hi,
    >
    > Is there a way to set the focus onto a text box that I have set up in my
    > EditItemTemplate, so that the User can just start typing once they they

    have
    > selected to Edit?
    >
    > Many thanks in advance
    > Colin B
    >
    >
     
    Cosmin Marin, Jun 8, 2004
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?U3dhbWk=?=

    Set focus on a text box

    =?Utf-8?B?U3dhbWk=?=, Nov 6, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    7,263
    Saravana
    Nov 8, 2004
  2. =?Utf-8?B?TWlrZSBNb29yZQ==?=

    Set Focus to a Text Box Field on a User Web Control

    =?Utf-8?B?TWlrZSBNb29yZQ==?=, Dec 9, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    470
    Steve C. Orr [MVP, MCSD]
    Dec 9, 2004
  3. Martin
    Replies:
    7
    Views:
    881
    brucie
    Jul 12, 2004
  4. Gnarlodious
    Replies:
    4
    Views:
    18,005
    elizas
    May 5, 2010
  5. Dan Sikorsky
    Replies:
    1
    Views:
    4,162
    Brock Allen
    Jun 17, 2006
  6. Huzaifa Matawala

    Set focus in Text Box

    Huzaifa Matawala, Aug 18, 2003, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    234
    Huzaifa Matawala
    Aug 18, 2003
  7. pallavi rajeev via .NET 247

    how to set focus in a text box dynamically

    pallavi rajeev via .NET 247, Apr 27, 2004, in forum: ASP .Net Mobile
    Replies:
    0
    Views:
    358
    pallavi rajeev via .NET 247
    Apr 27, 2004
  8. steve

    Set focus to a text box

    steve, Jul 30, 2005, in forum: Javascript
    Replies:
    2
    Views:
    115
Loading...