Home > DeveloperSection > Forums > Validation summary not showing
jayprakash sharma
jayprakash sharma

Total Post:117

Points:821
Posted on    September-02-2014 11:49 PM

 ASP.Net ASP.Net 
Ratings:


 1 Reply(s)
 777  View(s)
Rate this:

Why my validation summary not show after i click ligin button in my login control. It supposed to show an error message if i leave it blank in username n password box right? Can you guys tell me what should i do? 

   <asp:Login ID="Login1" runat="server" BackColor="#F7F7DE" BorderColor="#CCCC99"

                            BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="10pt">

                            <TitleTextStyle BackColor="#6B696B" Font-Bold="True" ForeColor="#FFFFFF" />

                        </asp:Login>

                    </p>

                   <asp:ValidationSummary ID="ValidationSummary1" runat="server"

    ValidationGroup="Login1" />



Sumit Kesarwani

Total Post:378

Points:2694
Posted on    September-03-2014 11:36 PM

Hi Jay, 

try this:

ValidationGroup="Login1"

must be specified on each validator & login button control.


Don't want to miss updates? Please click the below button!

Follow MindStick