Hi Im just new, Please give an example code on how can you capture the event when a user click the expand and get an item in the row which is clicked and then display it in the expanded panel.
One option is using NestedViewTemplate for the grid to customizing the grid behavior. RadGrid gives you the ability to data bind the controls in
a nested view template to a single item of a specified data source.
Hi Shinu, Thanks for the link and I've already saw the links that you provided. But what I'm doing is a special case, to explain this: 1. The main radgrid is populated by data by using List<t> and i've no problem with that. What I want to do is when I click the expand Iwant to get the value of a specific cell from the row where I click the expand
and then use it to search another List<T> and then using the result I will populate the expanded panel.
I will gladly appreciate if you could give me an example of code that when I clicked the expand it will return a value(Get a value from that row that I expand).
Thanks thanks thanks!
0
Dimo
Telerik team
answered on 20 Oct 2010, 02:42 PM
Hello Neil,
You can do it in two ways, both are demonstrated below.
You need to define DataKeyNames for the corresponding tableview in order to use this tableview's GetDataKeyValue method of the data items.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items