This is a migrated thread and some comments may be shown as answers.

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

5 Answers 163 Views
GridView
This is a migrated thread and some comments may be shown as answers.
soms
Top achievements
Rank 1
soms asked on 04 Mar 2011, 05:57 AM
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

5 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 04 Mar 2011, 09:42 AM
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!
0
Missing User
answered on 21 Oct 2011, 03:05 PM
Hello!

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

Thanks
0
Vlad
Telerik team
answered on 21 Oct 2011, 03:18 PM
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 >>

0
Missing User
answered on 21 Oct 2011, 03:36 PM
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!
0
Vlad
Telerik team
answered on 21 Oct 2011, 03:38 PM
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 >>

Tags
GridView
Asked by
soms
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Missing User
Share this question
or