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. Advertising

  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. Advertising

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,125
    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:
    407
    Steve C. Orr [MVP, MCSD]
    Dec 9, 2004
  3. Martin
    Replies:
    7
    Views:
    701
    brucie
    Jul 12, 2004
  4. Dan Sikorsky
    Replies:
    1
    Views:
    3,968
    Brock Allen
    Jun 17, 2006
  5. Roger
    Replies:
    3
    Views:
    320
Loading...

Share This Page