Using another panel to display items in GridView

5 posts, 1 answers
  1. Patrick
    Patrick avatar
    498 posts
    Member since:
    Aug 2012

    Posted 29 Feb 2012 Link to this post

    Hello,
    I'm looking for a solution to display images and would like to use the GridView headers for sorting, filtering and grouping the images, but need to display them in a VirtualizingWrapPanel.
    Is there any possibility to use the GridView for this?
    Patrick
  2. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 29 Feb 2012 Link to this post

    Hi Patrick ,

    RadGridView has its own virtualizing panel which can not be swapped with VirtualizingWrapPanel without severely damaging the integrity and the behavior of the control.

    Greetings,
    Pavel Pavlov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. Patrick
    Patrick avatar
    498 posts
    Member since:
    Aug 2012

    Posted 29 Feb 2012 Link to this post

    Hi Pavel,
    thank you for your answer.
    Is it possible to display just the headers of the GridView, without its content?
    That could be solution with positioning a ListBox with a VirtualizingWrapPanel just below it.
    Patrick
  4. Answer
    Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 29 Feb 2012 Link to this post

    Hello Patrick ,

    You can use the technique described in this blog post . Of course some of the features of RadGridView - column resizing , freezing etc would be lost.

    Greetings,
    Pavel Pavlov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  5. Patrick
    Patrick avatar
    498 posts
    Member since:
    Aug 2012

    Posted 29 Feb 2012 Link to this post

    Thank you Pavel,
    that was the kind of thing I was looking for.
    It would just be much easier if we could just change the panel, without messing with the template.
    Perhaps you can add this as a feature request.
    Patrick
Back to Top