Error tooltips missing for edited row in invalid state

3 posts, 1 answers
  1. Roman
    Roman avatar
    15 posts
    Member since:
    Jan 2011

    Posted 18 Aug 2014 Link to this post

    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. Answer
    Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 18 Aug 2014 Link to this post

    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.
     
  3. DevCraft banner
  4. Roman
    Roman avatar
    15 posts
    Member since:
    Jan 2011

    Posted 18 Aug 2014 in reply to Vanya Pavlova Link to this post

    Thank you, Vanya.
Back to Top