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

How do I force the CellValidating error message to open?

2 Answers 81 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 1
Stephen asked on 04 Dec 2012, 06:45 PM
I am using the CellValidating event to catch errors.  If an error occurs, the error message is populated properly, but the user has to hover over the red corner of the cell to see the message.  How can I make that red box error warning show up, instead of just coloring the box?  I noticed that in one of my grids there is a default column and Telerik's built in error checking prompted me with an error and it forced the red box error open, so I didn't have to hover on the cell.

Basically I want what the screenshot shows on this page to happen automatically, without hovering:

http://www.telerik.com/help/silverlight/gridview-events-validation.html

2 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 05 Dec 2012, 07:34 AM
Hi Stephen,

You need to edit the templates for the invalid states. Check out this forum thread illustrating how this could be achieved. 

Kind regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Stephen
Top achievements
Rank 1
answered on 06 Dec 2012, 03:00 PM
I am pretty new to templating.  I have done very basic things and mostly to separate controls, not things inside of grids.  I haven't templated controls inside of other controls.  I see the template in the project, in the example you reference but it doesn't include anything that implements it, or at least I cannot see how it is implemented at all.  There isn't anything using the two tooltip templates included in the Resources section.
Tags
GridView
Asked by
Stephen
Top achievements
Rank 1
Answers by
Maya
Telerik team
Stephen
Top achievements
Rank 1
Share this question
or