User-879814840 posted
Hi, I have a problem with the RegularExpressionValidator. I have to create a website readable on a PDA(Smart Device) and on a PC so I use the RegularExpressionValidator like this:
<
div class="labelTextBoxSet">
<div><asp:Label
ID="L_lastName"
runat="server">Last Name:</asp:Label></div>
<asp:TextBox
ID="T_lastName"
runat="server"></asp:TextBox>
<div><asp:RegularExpressionValidator
ID="REV_lastName"
runat="server"
ControlToValidate="T_lastName"
ErrorMessage="Not a valid input."></asp:RegularExpressionValidator></div>
</div>
//Regular Expression is assigned at page_load.
On a pc it works fine, but on a PDA nothing is working the ErrorMessage is never printed, not on leaving the textbox and not on clicking the submit button.
I use .net 2.0, the Pocke PC(2003se) emulator and Visual Studio 2005
Where is my mistake?
Thx...