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

Error tooltips missing for edited row in invalid state

2 Answers 45 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Roman
Top achievements
Rank 1
Roman asked on 18 Aug 2014, 09:27 AM
Hello,
I have row level validation in my grid and user cannot leave a row in invalid state. The problem is that grid displays InvalidEditableIndicator in the row header (AFAIR it displayed ErrorIndicator before in case row is invalid), which has no error tooltip defined, so user cannot see what is wrong with the row.
Here are the lines from the GridViewRow style

<Grid x:Name="InvalidEditableIndicator" HorizontalAlignment="Center" Height="10" Visibility="Collapsed" VerticalAlignment="Center" Width="16">
<Path .../>
<Path .../>
<Path .../>
<Path .../>
</Grid>
<Grid x:Name="ErrorIndicator" HorizontalAlignment="Center" Height="16" Visibility="Collapsed" VerticalAlignment="Center" Width="16">
<ToolTipService.ToolTip>
<ToolTip x:Name="validationTooltip" Content="{TemplateBinding Errors}" Placement="Bottom" Template="{StaticResource GridViewRow_ValidationToolTipTemplate}"/>
</ToolTipService.ToolTip>
<Path .../>
<Path .../>
<Path .../>
</Grid>


As you may see validationTooltip present only for the ErrorIndicator, but not for InvalidEditableIndicator. I had to get whole row style to modify the row template and add a tooltip there.
I think it would be good if Telerik add this error tooltip to the default row template.


2 Answers, 1 is accepted

Sort by
0
Accepted
Vanya Pavlova
Telerik team
answered on 18 Aug 2014, 11:54 AM
Hello Roman,


Thank you for your feedback. 

I've logged your request on our "Ideas&Feedback portal" and you may track this item, here. 
I would encourage you to vote, which will increase its priority. 

As you suggested, the only one workaround would be to add this tooltip manually via predefining the template of a GridViewRow (e.g.TreeListViewRow). 


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.
 
0
Roman
Top achievements
Rank 1
answered on 18 Aug 2014, 12:10 PM
Thank you, Vanya.
Tags
GridView
Asked by
Roman
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Roman
Top achievements
Rank 1
Share this question
or