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

[Solved] Disable Validation Messages within Grid

3 Answers 151 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rion
Top achievements
Rank 1
Rion asked on 31 Jan 2011, 11:48 PM
I have been having an issue dealing with performing Validation inside of my Server-bound Telerik grid. I am currently performing some of the validation within my controller - which depending on which items in the Grid are invalid, will display an error message just below the entire grid. This doesn't allow me to highlight specific fields that are erroneous, but it is basically the functionality that I am trying to achieve.

However, I have found that when I edit a row on my grid (using inline-editing), and the row contains invalid data - it will not only highlight but display an error message within the cell.

I don't mind the highlighting - however is there a way to disable the validation summary errors that occur within the cells of the grid?

Thanks much,

3 Answers, 1 is accepted

Sort by
0
Nelson
Top achievements
Rank 1
answered on 17 Jan 2012, 08:43 PM
Did you make it to work?
0
FinallyInSeattle
Top achievements
Rank 1
answered on 09 May 2012, 09:44 PM
I'd like a way to do this as well.
0
Daniel
Telerik team
answered on 14 May 2012, 04:34 PM
Hello,

There isn't a way to prevent adding the validation message when using InLine or InCell editing but you can use CSS to hide it:
#MyGrid .field-validation-error
{
    display:none;
}


Kind regards,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
Tags
Grid
Asked by
Rion
Top achievements
Rank 1
Answers by
Nelson
Top achievements
Rank 1
FinallyInSeattle
Top achievements
Rank 1
Daniel
Telerik team
Share this question
or