TileView start using

6 posts, 0 answers
  1. Waleed Seada
    Waleed Seada avatar
    241 posts
    Member since:
    May 2006

    Posted 22 Feb 2011 Link to this post

    Dear All,

    I have an intension to use RadTileview as selector for my items (loaded previously in a treeview).

    Is it possible also to include the functionality like adding, removing and updating the business object binded in there.

    Best regards
    Waleed
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 25 Feb 2011 Link to this post

    Hello Waleed Seada,

    Could you please elaborate more on your scenario since we are not sure how you intend to use the TileView and the treeview and how you want to interoperate.
    On the other hand , you can use a contextmenu in the RadTileView with buttons for Add/Remove/Update the business object (ViewModel)  behind the selected RadTileViewItem. Similar approach with a RadTreeView is shown in this demo.

    All the best,
    Petar Mladenov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. DevCraft banner
  4. Waleed Seada
    Waleed Seada avatar
    241 posts
    Member since:
    May 2006

    Posted 26 Feb 2011 Link to this post

    Dear Petar,

    My scenario is fairly simple and it is similar to this demo http://demos.telerik.com/silverlight/#TileView/FirstLook except that I need to make the display area (normal one) as an editable area for business object (have save,delete, insert functionality).

    I got a very hard time try to arrange the small, normal & large states of the view. I have about 22 item (could be more) under each treeview where I need to display them all in the TileView.

    Appreciate your feedback
    Best Regards

    Waleed
  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 02 Mar 2011 Link to this post

    Hello Waleed Seada,

    Actually, I still cannot advice you better, since I cannot go deep in your scenario. First you select multiple items from the RadTreeView. Then, do you make viewmodels for the SelectedItems? Then, how do you use the RadTileView with the selected tree items/ viewmodels? Have you examined the code of the mentioned demo, actually, you arrange the Large/SmallContent once ( in the XAML) and later you bind it to the contents of the business object / ViewModel. Where do your issues actually come from? Thank you for your cooperation in advance.

    All the best,
    Petar Mladenov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  6. Waleed Seada
    Waleed Seada avatar
    241 posts
    Member since:
    May 2006

    Posted 04 Mar 2011 Link to this post

    Dear Petar,

    Appreciate your kindly follow-up.
    I managed to arrange the tileview as expected thanks to your team.

    I now need to go further and manage the business object operations (CRUD) from within the tileview.

    Please have a look at the attached image to get the picture.

    I have an issue here :
    The radtoolbar items are binded to ICommand's and was working before I moved it inside Fluid control of the tileview datatemplate.
    what is causing that...

    Will it be good approach to go with the TileView and the business operation this way.

    Appreciate your feedback
    Waleed
  7. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 04 Mar 2011 Link to this post

    Hello Waleed Seada,

    Its really a bad practice to manage your CRUD operations with a buttons defined so deep in the RadTileViewItems` content. The preferred approach is to place this toolbar outside the whole RadTileView and this way your binding should work much easier and faster, the code should be less and more easier to maintain.

    Greetings,
    Petar Mladenov
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top
DevCraft banner