Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > validationSummary always show the HeaderText

Reply
Thread Tools

validationSummary always show the HeaderText

 
 
Mr. x
Guest
Posts: n/a
 
      12-12-2003
Hello,

I am using the validationSummary control.

I have a problem, that when nothing is wrong - all fields are required, and
there is a value -
I still get the message of the validationSummary control.

Something like this :

<asp:Table runat="server" CellPadding="0" HorizontalAlign="Center" dir =
"rtl" border = "0" width = "558">
<asp:TableRow>
<asp:TableCell>
<asp:RequiredFieldValidator
ControlToValidate="a_name"
Text="*"
runat="server" />
</asp:TableCell>
<asp:TableCell>name:</asp:TableCell>
<asp:TableCell><asp:TextBox id="a_name" runat="server"
/></asp:TableCell>
</asp:TableRow>

<asp:TableRow>
<asp:TableCell ColumnSpan = "3">

<asp:ValidationSummary
HeaderText="Required fields are :"
DisplayMode="BulletList"
EnableClientScript="true"
runat="server"/>
</asp:TableCell>
</asp:TableRow>


</asp:Table>

What is wrong in my code ?



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ValidationSummary does not show message box when ShowMessageBox is true Blibo Baggins ASP .Net Web Controls 4 11-17-2004 05:59 PM
Show only the ValidationSummary dw ASP .Net 2 09-05-2004 11:36 PM
Set Column Headertext =?Utf-8?B?QWxlc3NhbmRybyBSb3NzaQ==?= ASP .Net 1 02-27-2004 02:13 PM
CustomValidator error doesl not show in ValidationSummary Nir Erlich ASP .Net Web Controls 4 09-17-2003 08:47 AM
ValidationSummary ShowMessageBox HeaderText ? Gandalf ASP .Net 0 08-10-2003 06:35 PM



Advertisments