How to set focus to a control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, all:

I have created some text box controls in one of my WebForm, now I want to
set focus to one of the text box by code (using server side script), how can
I do this?

I know it's easy to do this using client-site JavaScript + HTML tags. But
how to do this using Web Controls and Server site C# code?

Thanks in advance!
Kevin
 
Back
Top