Virtualization between views using PRISM

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

    Posted 07 Feb 2011 Link to this post

    Dear All,
    I am using  VirtualQueryableCollectionView to retrieve data from WFC RIA services class library, and then Bind it to RadGrid, also I have defined a datatemplete for displaying data for the currentitem everything is okay.
    My question is :
    Can I still use this magic of the currentitem bounding in a nested view in a region, I mean when the use select a row in the radgrid at the parent view can I bind the nested view to the currentitem, or should I subscribe to the CurrentChanged event and pass the selected row.

    Please advice,
    Regards
    Waleed

  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 08 Feb 2011 Link to this post

    Hello,

     You do not need to use current/selected item to create hierarchy. You can check for example the code in this demo and how RadTreeView is bound. Binding with RadGridView row-details and/or hierarchy will be the same. 

    All the best,
    Vlad
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. DevCraft banner
  4. Waleed Seada
    Waleed Seada avatar
    241 posts
    Member since:
    May 2006

    Posted 08 Feb 2011 Link to this post

    Hello Vlad,
    Thanks for the tip.
    Actualy my question is if it possible to use the virtualquerablecollection view across region using prism.

    Best regards
    Waleed
  5. Answer
    Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 11 Feb 2011 Link to this post

    Hi Waleed,

     I believe that everything should work normally. 

    Best wishes,
    Vlad
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  6. Waleed Seada
    Waleed Seada avatar
    241 posts
    Member since:
    May 2006

    Posted 11 Feb 2011 Link to this post

    It does work ..
    Thanks
    Waleed
Back to Top
DevCraft banner