G
Guest
I wish to access CheckBox control in ItemTemplate, to set or get value.
I use next code on event: ItemDataBound(...)
//-------------
e.Item.Cells[0].FindControl("CheckBox1")
//-------------
to access desired checkbox.
Is there exist some faster way to access this control then method
FindControl().
Maybe something like: e.Item.Cells[0].Controls[0], to access control
directly from index.
Thanks
I use next code on event: ItemDataBound(...)
//-------------
e.Item.Cells[0].FindControl("CheckBox1")
//-------------
to access desired checkbox.
Is there exist some faster way to access this control then method
FindControl().
Maybe something like: e.Item.Cells[0].Controls[0], to access control
directly from index.
Thanks