This is a migrated thread and some comments may be shown as answers.

How to restrict ValidationSummary Error Message Image

3 Answers 120 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Dhamodharan
Top achievements
Rank 1
Dhamodharan asked on 13 Dec 2010, 10:24 AM
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

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 13 Dec 2010, 12:21 PM
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.
0
Accepted
Cori
Top achievements
Rank 2
answered on 13 Dec 2010, 02:11 PM
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. 
0
Dhamodharan
Top achievements
Rank 1
answered on 13 Dec 2010, 02:31 PM
Hi Cori,

That's working fine. thank for ur information.


Thanks,
Dhamu
Tags
Ajax
Asked by
Dhamodharan
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Cori
Top achievements
Rank 2
Dhamodharan
Top achievements
Rank 1
Share this question
or