This question is locked. New answers and comments are not allowed.
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
I have added a screenshot with the problem.
Sodiwe
5 Answers, 1 is accepted
0
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
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
Is there a way that to hide the tooltip on the moment we start typing or when the column resizes ?
Sodiwe
0
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
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
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
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
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.