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
500
how to find control in TemplatedColumn?
posted

 I add a templatedcolumn in an UltraWebGrid.and add some button in this templatedcolumn.

now,I want to find the control in this templatedcolumn in InitializeRow event.

how to code it ?

Parents
  • 28464
    Verified Answer
    posted

    Just wanted to follow-up with one additional example in C# and applicable for InitializeRow:


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

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

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

    More info can be found here:

    http://forums.infragistics.com/forums/p/11465/43344.aspx#43344 

Reply Children
No Data