Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Set Focus in EditItemTemplate text box...

Reply
Thread Tools

Set Focus in EditItemTemplate text box...

 
 
Colin Basterfield
Guest
Posts: n/a
 
      06-07-2004
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


 
Reply With Quote
 
 
 
 
Cosmin Marin
Guest
Posts: n/a
 
      06-08-2004
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
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
this.window.focus() vs. window.focus() vs. this.focus() Roger Javascript 3 03-08-2007 08:53 PM
ASP.Net 2.0 FormView - Set Focus To Control On EditItemTemplate Dan Sikorsky ASP .Net 1 06-17-2006 07:10 PM
How to set selection in dropdownlist included in a Gridview <EditItemTemplate> WT ASP .Net 2 05-03-2006 02:59 PM
Why does putting focus on textbox also set focus to submit jw56578@gmail.com Javascript 2 06-06-2005 08:20 PM
how do i access a dropdownlists selected value in a datagrid edititemtemplate column from the selectedindexchanged event of another dropdownlist in a datagrid edititemtemplate column Dave M ASP .Net Datagrid Control 0 12-14-2004 11:53 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57