PRB: Link Controls Do Not Work in the Pocket PC Emulator (311942)



The information in this article applies to:

  • Microsoft Mobile Internet Toolkit (MMIT)

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:

STATUS

This behavior is by design.

MORE INFORMATION

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.

Modification Type:MajorLast Reviewed:9/10/2004
Keywords:kbEmulation kbHTMLDevice kbnofix kbprb kbServerControls KB311942