[Mono-dev] Validator controls expected results?
Christopher Bergström
cbergstrom at netsyncro.com
Tue Jan 3 16:10:49 EST 2006
Per the documentation.. If I have display="None" and a
<asp:ValidationSummary /> control then the validator control should not
display results inline, but the JS still executes. I found a
work-around by EnableClientScript="false".. bug?
This is in Firefox latest version.. (Haven't tested in Safari, IE,
Opera.. etc..)
This works as expected..
Example :
<asp:requiredfieldvalidator id="valPhone" runat="server"
Controltovalidate="txtPhone"
Display="None"
EnableClientScript="false"
Errormessage="Please enter a phone number." />
<asp:ValidationSummary id="vsResults" runat="server"
DisplayMode="List"
EnableClientScript="false"
ShowSummary="true"
ShowMessageBox="true"
HeaderText="Results" />
If possible can someone send me the actual html output that MS .Net
produces and I'll see if I can make a patch.. I'd also like to see the
actual html produced in the summary control with DisplayMode="" being
changed to each option.. List, BulletList, SingleParagraph
In my patch should I not change the elements to xhtml compliant?
example : <br> to <br />
Thanks
C.
More information about the Mono-devel-list
mailing list