iam using aspxgridview for my program.I want to use check box in that grid.So I have create one template field .I put aspxcheckbox field in that template field.I have selected some of the check box at runtime and i need to put that values in Data table.I use databind & databound event to get that value.But it doesn't work.So pl. tell me how i will get this?
To implement this task, you should:
1) handle the Page_LoadComplete event to obtain information about the checked rows. To obtain an instance of the CheckBox, use the ASPxGridView.FindRowCellTemplateControl method.
2) handle the HtmlRowCreated event of the ASPxGridView, to select the required checkboxes.
I have attached a sample project for you.
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.