How the "LoadingRowDetails" Fire each time when i am selecting the Row in RadGridView?

6 posts, 0 answers
  1. soms
    soms avatar
    10 posts
    Member since:
    Jan 2011

    Posted 03 Mar 2011 Link to this post

    Hi,

    I am using RadGridView and in RowTemplate i have placed RadGridView.

    when i am selecting First Row "LoadingRowDetails" event is executed and i selected the second row "LoadingRowDetails" event is executed.

    But the problem is when i went back to first row "LoadingRowDetails" event is not executed that means this event is executed only once for each row. 

    But, i need to Execute the even for each time when i am selecting the Row.How can i do this?.

     Please Help me.

    Thanks & Regards

    Somu
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 04 Mar 2011 Link to this post

    Hello,

     The event is not executed since the loaded content is cached. 

    All the best,
    Vlad
    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. Joao Paulo Grassi
    Joao Paulo Grassi avatar
    98 posts
    Member since:
    Feb 2011

    Posted 21 Oct 2011 Link to this post

    Hello!

    I'm facing the same problem as soms, anyone knows where can I "reset" the loaded content?

    Thanks
  5. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 21 Oct 2011 Link to this post

    Hi,

    I suggest you to try RowDetailsTemplateSelector. More info can be found on this demo:
    http://demos.telerik.com/silverlight/#GridView/Selectors/DataTemplateSelectors/RowDetailsTemplateSelector

    Best wishes,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  6. Joao Paulo Grassi
    Joao Paulo Grassi avatar
    98 posts
    Member since:
    Feb 2011

    Posted 21 Oct 2011 Link to this post

    Hi Vlad,

    Sorry but i can't figure it out on how the RowDetailsTemplateSelector will help me.
    Let me explain my grid to you,

    I have a Master Grid with Data and RowDetails Template, When the rowsdetails are loaded I show another RadGriView with a collection of data related to the Master grid Row. In the Details Grid the user can insert new rows and save then. But If I open the first row, close and open again, LoadingRowDetails event doesn't fire, and i just need because every time that the DetailGrid is loaded i need to call a WCF Service that returns to me a list of data.

    Maybe I can use the RowDetailsTemplateSelector to do this, but with the online help I just don't understand how, if you please provide some sample project i will appreciate it.

    Thanks!
  7. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 21 Oct 2011 Link to this post

    Hi,

     In this case you do not need the selector at all. You can simply call your service from your property getter of the collection bound to the child grid. 

    All the best,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top
DevCraft banner