Solved

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

Posted on 2009-07-06
2
549 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

775 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