I'm trying to add a control programatically in a datagrid, where the
datagrid is programatically created too. The Control si viewed normal, but I
cannot access later ViewState for it to remember its properties and to
manage Events.
When building the page : (Trace)
name : Type : Size : ViewState
_grid_9_:_ctl0:_ctl2:_0_embedded_control_ dDropDown 578 1160
_grid_9_:_ctl0:_ctl2:_0_embedded_control_:_ctl0
System.Web.UI.WebControls.DropDownList 578 0
There is ViewState for the component, but when I try to access the ViewState
later after postback, The ViewState contains only data for another
DropDownList Control on the Page, but not the nested DropDownList in
DataGrid.
Any suggestions ?
--
Eng. Tihomir Trifonov,
Senior Developer,
Triada Soft Ltd.,
9000, Varna, Bulgaria
9 Veliko Hristov str.
tel/fax +359 52 601-000(602-000)
http://www.triada.bg ,
http://www.triada-soft.bg