WML Input and .NET TextBox not displaying Text Property

E

erikpaulmiller

I have a MobileForm in which I set the text property equal to something
in the designer. When I view the page via a browsers that requires WML
the value is not displayed. Here is the wml that is sent to the
browser. The value attribute of the input field is not getting
set/displayed. When the form posts back the value is set yet not
visible. I created a static WML page to test the functionality of
defaulting a textbox, which was successful when setting the input's
value attribute to some value.

Here is the wml that is sent to the browser...

<?xml version='1.0'?>
<!DOCTYPE wml PUBLIC '-//WAPFORUM//DTD WML 1.1//EN'
'http://www.wapforum.org/DTD/wml_1.1.xml'>
<wml>
<head>
<meta http-equiv="Cache-Control" content="max-age=0" />
</head>
<card title="TEST">
<onevent type="onenterforward">
<refresh>
<setvar name="txtNewNumber" value="123123123" />
</refresh>
</onevent>
<p>New Number:<br/>
<input name="txtNewNumber" format="*N" />
<anchor title="Go">Submit
<go href="Test.aspx" method="post">
<postfield name="__EVENTTARGET" value="btnSubmit" />
<postfield name="txtNewNumber" value="$(txtNewNumber)" />
</go>
</anchor>
<br/>
</p>
</card>
</wml>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top