RadGridView Scroll to top Problem

2 posts, 0 answers
  1. Jean-Philippe Mailhot
    Jean-Philippe Mailhot avatar
    4 posts
    Member since:
    Sep 2009

    Posted 22 Dec 2009 Link to this post

    here's my issue.

    I have simple Radgriew.  I want to be able to open a edit window for each row.  So I added a image button on each rowdetail.
    The problem is, one out of 3 time (approx), when I click on the button, the grid reset the scroll  to the top and doesn't fire the 
    imgEdit_MouseLeftButtonUp event.
    Can you help me !!!:)



    <DataTemplate x:Key="GridDetailTemplate">




    <Grid Background="{StaticResource TitleBackground}" >






    <Image x:Name="imgEdit" MouseLeftButtonUp="imgEdit_MouseLeftButtonUp" Visibility="Visible" HorizontalAlignment="Left" VerticalAlignment="Top"



    Height="16" Width="16" Source="/Images/Edit.png" Stretch="Fill">





    controls:RadGridView Name="radGridView" ItemsSource="{Binding CustomItems}" Margin="5 0 0 0" CanUserFreezeColumns="False"



    AutoGenerateColumns="False" IsFilteringAllowed="False"











    RowDetailsTemplate="{StaticResource GridDetailTemplate}"









    ShowGroupPanel="False" ScrollMode="RealTime"



    Style="{StaticResource MyGridViewStyle}">









    <controls:GridViewImageColumn IsGroupable="False" HeaderCellStyle="{StaticResource MyHeaderCellStyle}" IsSortable="False" DataMemberBinding="{Binding Converter={StaticResource CustomizableTypeImageConverter}}" Width="35" />



  2. Rossen Hristov
    Rossen Hristov avatar
    2477 posts

    Posted 28 Dec 2009 Link to this post

    Hi Jean-Philippe Mailhot,

    I have prepared a similar demo project in my blog post How To: Display RadGridView Row Details with RadWindow for Silverlight.

    Alternatively, you can show row details in a tool-tip if you find it more attractive. I have explained how to do this in the blog post How To: Tooltip Row Details with RadGridView for Silverlight.

    You might want to use the built-in GridViewToggleRowDetailsColumn as demosntrated in this online example.

    Please, examine these resources carefully. I hope this helps.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top