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

Validation tooltip problem

5 Answers 98 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Licenses
Top achievements
Rank 1
Licenses asked on 04 May 2012, 10:09 AM
We have a problem with the validation tooltip in a radgridview. We have a required string column(width = auto) in this grid. If we leave it blank and go to the next column we get the validation error, this is correct. If we go back and start typing in this field there is no problem untill the text is so long that the column resizes. The problem here is that te error tooltip stays at its original position and we can't see what we are typing.

I have added a screenshot with the problem.

Sodiwe

5 Answers, 1 is accepted

Sort by
0
Yordanka
Telerik team
answered on 07 May 2012, 12:50 PM
Hi Sodiwe,

You can easily avoid this behavior by editing ValidationTooltipTemplate of GridViewCell. For example, you can show the validation error to appear under validated cell. 

Let us know if you need additional help about editing the template. 
 
Kind regards,
Yordanka
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Licenses
Top achievements
Rank 1
answered on 21 Nov 2012, 09:41 AM
Showing the validation under the cell isn't a option for me.
Is there a way that to hide the tooltip on the moment we start typing or when the column resizes ?

Sodiwe
0
Yordanka
Telerik team
answered on 22 Nov 2012, 03:21 PM
Hi Sodi,

With the current design of the ValidationTooltip there is no way to hide it when the mouse is over the cell. However, you may try changing the ValidationTooltip with something else that will meet your requirements. And you may control its appearance by modifying GridViewRow template. 
 
Regards,
Yordanka
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Darryl
Top achievements
Rank 1
answered on 19 May 2014, 10:39 PM
Hi Yordanka,

I have been trying to edit the template for this, but in Blend I cannot find the appropriate section to set the ValidationToolTip Location.  Is there an example that you can direct me to?

Regards,
Darryl
0
Vanya Pavlova
Telerik team
answered on 22 May 2014, 04:57 PM
Hello Sody,


RadGridView supports different validation modes and the validation tool tip depends on different factors. Let's say that you perform validation in view mode, you will have to manipulate the appearance of a cell or row in this mode. In edit mode validation tool tip depends on the editor and GridViewEditorPresenter element. RadGridView's validation tool tip styles are located in Telerik.Windows.Controls.GridView.xaml, those related to editors in Telerik.Windows.Controls.xaml. If you manipulate the common one it will affect all kind of editors, the rest will affect only RadGridView

May you please share with us what kind of validation you are currently using? 


Regards,
Vanya Pavlova
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
GridView
Asked by
Licenses
Top achievements
Rank 1
Answers by
Yordanka
Telerik team
Licenses
Top achievements
Rank 1
Darryl
Top achievements
Rank 1
Vanya Pavlova
Telerik team
Share this question
or