How to restrict ValidationSummary Error Message Image

4 posts, 1 answers
  1. Dhamodharan
    Dhamodharan avatar
    300 posts
    Member since:
    Sep 2010

    Posted 13 Dec 2010 Link to this post

    Hi,

    When i am using add and edit in radgrid i am using Validation summary. validation summary showing error message correctly. but the image has been displayed. i want display error message in bulletList mode without image.

    How to i get this validationSummary in BulletList without Image.


    Here this is the code what i am using,

     <asp:ValidationSummary ID="vsDepError" runat="server" Font-Names="Verdana" Font-Size="8pt"
                                                Style="text-align: left" DisplayMode="BulletList" ValidationGroup="ValidateDep" />

    And also i have attached image.

    Please give me a tips.

    Thanks in Advance,
    Dhamu
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 13 Dec 2010 Link to this post

    Hi Dhamu,


    The icon did not appear for me when I tried the same in my applciation. Please check whether you have added any extra code for displaying icon in ValidationSummary.
    Adding Icons to ValidationSummary
    Customize Validation Summary
    Custom Validation Summary in ASP.NET


    -Shinu.
  3. Answer
    Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 13 Dec 2010 Link to this post

    If you have the ValidationSummary icon showing, it means you have the RadFormDecorator on your page. Add ValidationSummary to the ControlsToSkip collection of the RadFormDecorator.

    I hope that helps. 
  4. Dhamodharan
    Dhamodharan avatar
    300 posts
    Member since:
    Sep 2010

    Posted 13 Dec 2010 Link to this post

    Hi Cori,

    That's working fine. thank for ur information.


    Thanks,
    Dhamu
Back to Top