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

RAD Grid Batch update with rad combo columns

1 Answer 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rahul
Top achievements
Rank 1
Rahul asked on 17 Jun 2014, 10:45 AM
Hi,
I am new to RAD controls, I have to create application having bellow functinality
1. RAD grid having 4 RAD combo columns and 1 Lable columns
2. RAD combo of column 2 will depend on value selected in RAD combo of column 1 and Column 3 will depend on value selected in column 1 & 2 
3. User should be able to add new row (single row) and should be able to do batch update
4. Databinding will be done on code behind.

Please let me know how to do this.


1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 17 Jun 2014, 11:47 AM
Hi Rahul,

1. For adding RadComboBox and Label inside the RadGrid you can use GridTemplateColumn of RadGrid as follows.

ASPX:
<telerik:RadGrid  runat="server"...>
  <MasterTableView>
    <Columns>
      ...
      <telerik:GridTemplateColumn>
        <ItemTemplate>
          <telerik:RadComboBox runat="server"...>
          </telerik:RadComboBox>
          <asp:Label runat="server" .../>
        </ItemTemplate>
      </telerik:GridTemplateColumn>
      </Columns>
  </MasterTableView>
</telerik:RadGrid>

2. Please have a look into this online demo which presents the creation of related RadComboBox.

3.In order to add a new record to the RadGrid, please try to set the CommandItemDisplay property in MasterTableView. Please take a  look into this help documentation for further help.

4. Please have a look into this online demo which describes about server side binding.

Thanks,
Shinu.
Tags
Grid
Asked by
Rahul
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or