Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

Need to find which textbox has focus from a user control.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dougmcmurtry@gmail.com - 28 Mar 2008 20:23 GMT
I have a web app that is going on a touch screen computer with no
keyboard, so I have to allow them to enter numeric data into text
fields through a UserControl that I built. All I need to find is which
textbox control on the page has focus so I know where to put the
input. Any ideas? Thanks all......
bruce barker - 28 Mar 2008 23:52 GMT
your user control will have the focus. you need to decide on  the UI, how to
identify the textbox, the touch control will fill in.

you coudl use the textbox onfocus event to save the id of the last textbox.

-- bruce (sqlwork.com)

> I have a web app that is going on a touch screen computer with no
> keyboard, so I have to allow them to enter numeric data into text
> fields through a UserControl that I built. All I need to find is which
> textbox control on the page has focus so I know where to put the
> input. Any ideas? Thanks all......
dougmcmurtry@gmail.com - 29 Mar 2008 00:24 GMT
Do you know if I can use the Javascript onfocus event to set a
protected member variable on the aspx page?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.