Hello Ahmed,
Thank you for contacting us.
We do not have a ready example for this scenario but it can be implemented. In order to achieve this you can use a hierarchical RadGrid with template columns which will contain the check box and the editable text box. I suggest that you review the following help topics and demos which will help you build up your project:
- To get a better understanding of RadGrids hierarchy structure please review the hierarchy section.
- A more clear idea of how to implement the template and the update columns you can find in this help article. Sections GridTemplateColumn and GridButtonColumn will be particularly helpful.
- Additionally please review this demo which illustrates CRUD operations in a hierarchical grid. If you want to fire commands manually from the code, I suggest that you take a look at this article which illustrates that.
- Extracting data from the grid records can be achieved by setting DataKeyNames. Later when you obtain a reference to the GridDataItem you can use GetDataKeyValue for extraction. Additionally you can extract the data directly from the grid cells. Accessing rows and cells in RadGrid is demonstrated here.
Hope the information provided helps you on implementing the described functionality.
Regards,
Angel Petrov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their
blog feed now.