Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
Combo inside Grid
posted

I have expanded Combo (with reference to Grid)

How I can get Combo row from cell in Grid?

Parents
  • 28464
    posted

     Hello,

    It really depends on the specific situation. An approach that might be applicable in this situation is to hook the grid InitializeRow event and to find the dropdownlist directly from there (I assume that the dropdown will be placed in a templated column):

     

    TemplatedColumn col = (TemplatedColumn)e.Row.Cells.FromKey("dropDownContainer").Column;

    CellItem ci = (CellItem)col.CellItems[e.Row.Index];

    DropDownList archive = (LinkButton)ci.FindControl("dropDownListID"); 

    Or if the combobox is inside RowEditTemplate - you can check out this forum thread for additional details>

    RowEditTemplate
    http://forums.infragistics.com/forums/t/11438.aspx
     

     

Reply Children
No Data