Microsoft KB Archive/311942

= PRB: Link Controls Do Not Work in the Pocket PC Emulator =

Article ID: 311942

Article Last Modified on 7/4/2007

-

APPLIES TO


 * Microsoft Mobile Internet Toolkit 1.0

-



This article was previously published under Q311942



SYMPTOMS
When you are using Microsoft Pocket Internet Explorer in the Microsoft Pocket PC emulator to browse a page that you created with the Microsoft Mobile Internet Toolkit (MMIT), you may find that mobile Link controls do not navigate to another mobile Web Form when you click the them.



CAUSE
This behavior occurs because in the Pocket PC emulator, the mobile Link control requires the use of client-side Microsoft JScript to perform the navigation to another mobile Web Form and JScript is not installed by default.



RESOLUTION
To resolve this behavior, enable and install JScript. For more information about JScript, visit the following Microsoft Developer Network Web site:

http://msdn2.microsoft.com/en-us/library/hbxc2t98(VS.71).aspx



STATUS
This behavior is by design.



Steps to Reproduce the Behavior

 * 1) Add a mobile Web Form to a mobile Web application in Visual Studio .NET to create an .aspx page that contains a Form.
 * 2) Drag a Form control from the Mobile Web Forms section of the toolbox and drop it after the Form that was automatically created in step 1.
 * 3) Drag a Link control from the Mobile Web Forms section of the toolbox and drop it onto the first Form.
 * 4) Set the NavigateURL property of the Link control to the second Form (such as #Form2).
 * 5) Build the solution and view the page in the Pocket Internet Explorer browser that is in the Pocket PC emulator. Click the Link control and notice that no action is performed.

Keywords: kbemulation kbhtmldevice kbnofix kbprb kbservercontrols KB311942

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.