T
The_ShotSpotter_Team
Folks,
Your guidance would be appreciated: I have a DetailsView, and I can use
FindControl("cmbFoo") to successfully find a DropDownList defined in a
<ItemTemplate> of a field in a DetailsView. However, if I move cmbFoo to
either the <EditItemTemplate> or the <InsertItemTemplate>, then
FindControl("cmbFoo") returns NULL, regardless of what mode the control is in
(i.e., this fails in read-only mode, in edit mode and in insert mode).
How do I access my cmbFoo when its home is the <EditItemTemplate> or the
<InsertItemTemplate> of a field in a DetailsView?
Thanks in advance.
Regards,
/s/ James
Your guidance would be appreciated: I have a DetailsView, and I can use
FindControl("cmbFoo") to successfully find a DropDownList defined in a
<ItemTemplate> of a field in a DetailsView. However, if I move cmbFoo to
either the <EditItemTemplate> or the <InsertItemTemplate>, then
FindControl("cmbFoo") returns NULL, regardless of what mode the control is in
(i.e., this fails in read-only mode, in edit mode and in insert mode).
How do I access my cmbFoo when its home is the <EditItemTemplate> or the
<InsertItemTemplate> of a field in a DetailsView?
Thanks in advance.
Regards,
/s/ James