VALIDATION SUMMARY NOT SHOWING

jayprakash sharma

Total Post:117

Points:821
Posted by  jayprakash sharma
 1117  View(s)
Ratings:
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" />

  1. Sumit Kesarwani

    Post:378

    Points:2694
    Re: Validation summary not showing

    Hi Jay, 


    try this:

    ValidationGroup="Login1"

    must be specified on each validator & login button control.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!