Solved

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

Posted on 2009-07-06
2
554 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

734 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