Microsoft KB Archive/311049

= PRB: A TextBox Control Does Not Render After an Anchor Tag =

Article ID: 311049

Article Last Modified on 8/6/2002

-

APPLIES TO


 * Microsoft Mobile Internet Toolkit 1.0

-



This article was previously published under Q311049



SYMPTOMS
When you use the Openwave 3. and 4. browsers and emulators by Phone.com, you may notice that a TextBox control does not render.



CAUSE
If your code creates an anchor (a Link control) that is followed by a TextBox, the anchor needs to render on one card that is followed by the TextBox on another card. You have to click a button to navigate to the TextBox.



STATUS
This behavior is by design.



Steps to Reproduce the Behavior
Add the following code to an .aspx page, and then view the page in an Openwave 3. or 4. browser: <%@ Register TagPrefix=&quot;mobile&quot; Namespace=&quot;System.Web.UI.MobileControls&quot; Assembly=&quot;System.Web.Mobile&quot; %> <%@ Page language=&quot;c#&quot; Inherits=&quot;System.Web.UI.MobileControls.MobilePage&quot; %>  Link   After you add the code to the .aspx page, the code generates the following Wireless Markup Language (WML); it also produces two   elements:      <postfield name=&quot;__EVENTARGUMENT&quot; value=&quot;$(Form1)&quot; /> <postfield name=&quot;TextBox1&quot; value=&quot;$(TextBox1)&quot; /> </go> </do> <select name=&quot;Form1&quot;> <option onpick=&quot;&quot;>Link <option onpick=&quot;#card1&quot;>OK

<card id=&quot;card1&quot;> <p mode=&quot;wrap&quot;> <input name=&quot;TextBox1&quot; /> Click OK, and then navigate to the second card to see the TextBox.

The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Keywords: kbnofix kbwmldevice kbdevicespecific kbprb kbemulation KB311049

-

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

© Microsoft Corporation. All rights reserved.