Finding combobox in hierarchical grid

2 posts, 0 answers
  1. SUBIN
    SUBIN avatar
    8 posts
    Member since:
    Jan 2013

    Posted 31 Jan 2013 Link to this post

    How to find combobox placed inside detailtable.In hierarchical grid
    I want to find combobox in item created
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 31 Jan 2013 Link to this post


    Try setting the 'Name' property of the 'MasterTableView' and 'GridTableView' to distinguish between them in the ItemCreated event. Please check the code snippet.

    protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e)
        if (e.Item is GridDataItem && e.Item.OwnerTableView.Name == "DetailTableName")
            GridDataItem itm = (GridDataItem)e.Item;
            RadComboBox lnl = (RadComboBox)itm.FindControl("RadComboBox1");

Back to Top