Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pop-up message using ValidationSummary...

Status
Not open for further replies.

vmaila

Programmer
Sep 14, 2003
1
JP
hi,

i tried using the pop-up dialog using validationsummary and supplied the appropriate fields but it does not seem to be working. i've attached a code snippet of what i'm working.

---
Code:
<asp:regularexpressionvalidator id=&quot;vldManufacturedDate&quot; ValidationExpression=&quot;...&quot; Runat=&quot;server&quot; ErrorMessage=&quot;Enter a valid manufactured date, i.e. MM-DD-YYY.&quot; ControlToValidate=&quot;ManufacturedDateTextBox&quot; EnableClientScript=&quot;true&quot; Display=&quot;None&quot;>
</asp:regularexpressionvalidator>

<asp:ValidationSummary id=&quot;vldSummary&quot; ShowMessageBox=&quot;True&quot; ShowSummary=&quot;False&quot; Runat=&quot;server&quot; DisplayMode=&quot;BulletList&quot; />
---

this code does not work. =( hope somebody could help me.
thanks in advance.
maila
 
If I remember correctly, the validation summary only fires on an attempted postback, and only for a control with the &quot;CausesValidation&quot; property to True.

D'Arcy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top