Styling a RadWrapPanel

3 posts, 0 answers
  1. Hardik
    Hardik avatar
    11 posts
    Member since:
    Jun 2012

    Posted 21 Aug 2012 Link to this post

    Hii All,

    I need to Style the RadWrapPanel, which gives the look and feel like a grid i.e. Rows and Columns.
    When I add the RadWrapPanel and try to edit its style in Expression Blend, it just give me option of creating an Empty Template rather than editing its original template.
    The records are getting populated in a telerik:ListBox, to which the RadWrapPanel is applied.
    So do I need to style the ListBox or the RadWrapPanel?
    Kindly help me out.

    Thanks and Regards,
    Hardik
  2. Graeme
    Graeme avatar
    21 posts
    Member since:
    May 2012

    Posted 18 Sep 2012 Link to this post

    Why not colour the background of the Listbox with the grid color and set a margin for the ListBoxItem template?
  3. DevCraft banner
  4. Hardik
    Hardik avatar
    11 posts
    Member since:
    Jun 2012

    Posted 21 Sep 2012 Link to this post

    Hi Graeme,

    Thank you so much for the valuable feedback. I tried styling it like the gridview but the thing is that when the no. of records are less, the output is like the follow:

    http://imageshack.us/photo/my-images/222/demowrappanel.png/

    So when I reduce the height of the ListBox or the WrapPanel, the records get hidden.
    I want to display a vertical scrollbar in case if the no. of records are more. Is it possible to display scrollbars in telerik:ListBox?

    Thanks and Regards,
    Hardik
Back to Top