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

RadGrid with edit in Usercontrol

1 Answer 76 Views
Grid
This is a migrated thread and some comments may be shown as answers.
nithu
Top achievements
Rank 1
nithu asked on 05 Oct 2010, 06:19 PM
Hi,
   I am working with RadGrid, usercontrol and Radpanelbar.
1. Actually I have A radGrid 'xyz1' which has usercontrol "ucl1" as it's edit form.
 2. In this Usercontrol "ucl1"  I have RadPanelBar "abc1" and some other web controls.
3. In RadPanelBar "abc1" I have another Usercontrol "ucl2" which contain RadGrid "xyz2" in it.

Now I want to pass 2 parameters from the Radgrid 'xyz1' to the Radgrid "xyz2" on click of edit. On Click of Edit I have to pass the parameters to RadGrid "xyz2" which loads data based on those 2 parameters. Please Help me with this issue. I am unable to load data into that RadGrid "xyz2". Can you Provide me with an example that does this similar process......


Thanks & Regards,
Nithu

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 08 Oct 2010, 09:53 AM
Hello,

You can handle the ItemDataBound event of the outer grid and there, when item is edit mode, get the desired values and rebind the inner grid. You can refer to the below online resources for more infromation:

http://www.telerik.com/help/aspnet-ajax/grdaccessingcellsandrows.html
http://www.telerik.com/help/aspnet-ajax/grdupdatingvaluesusercontrolformtemplate.html
http://www.telerik.com/help/aspnet-ajax/grddistinguisheditinsertmodeonitemcreateditemdatabound.html

Greetings,
Maria Ilieva
the Telerik team
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
Tags
Grid
Asked by
nithu
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or