Solved

How to set Focus to a Control in ASP.NET using Windows Mobile

Posted on 2009-07-06
2
544 Views
Last Modified: 2013-11-07
Hello Experts,

I have an ASP.NET using VB page which i Will be viewing from a Windows Mobile internet explorer.

I want to set the focus to a control through the event of another.

This works fine from the browser of a PC but doesn't work from a Mobile browser.

Any ideas how I can make this work ???

Thanks in advance,

Pythonv.
0
Comment
Question by:pythonV
2 Comments
 
LVL 20

Accepted Solution

by:
alainbryden earned 500 total points
ID: 24795058
Mobile web applications require that you use Javascript to give a control focus using document.getElementById("").focus(). Do you have a straightforward way to do this in your enfironment?

--
Alain
0
 

Author Comment

by:pythonV
ID: 24800960
hello, Thanks for the response.

I have a way of editing the javascript as im using Visual Studio 05.

I found another solution however as shown here:

http://msdn.microsoft.com/en-us/library/aa479011.aspx

I changed the body tag to server side control. this enabled me to change the focus through the events, just what I needed.

Thanks.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now