|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Table - no ViewStateI just learn that there is no ViewState for
System.Web.UI.WebControls.Table :eek:
I'm mad cos I need it :mad: Table control has a property EnableViewState but it isn't working! Why ? :confused: Any idea how it's work in .NET 2.0 ? -- Brayan__ ------------------------------------------------------------------------ Brayan__'s Profile: http://www.hightechtalks.com/m556 View this thread: http://www.hightechtalks.com/t2313171 Hi,
Can you further clarify what you mean? Note that TableCells and TableRows are controls themselves, so they are not kept in ViewState, and you'd need to instantiate and add them to Table on every request, if that's the problem (e.g dynamically created rows & cells are not kept over postbacks) Table has viewstate, but it takes care of state of the controls, but not control istances themselves Show quoteHide quote "Brayan__" <Brayan__.20c***@no-mx.forums.yourdomain.com.au> wrote in message news:Brayan__.20c4xy@no-mx.forums.yourdomain.com.au... > > I just learn that there is no ViewState for > System.Web.UI.WebControls.Table :eek: > I'm mad cos I need it :mad: > Table control has a property EnableViewState but it isn't working! Why > ? :confused: > Any idea how it's work in .NET 2.0 ? > > > -- > Brayan__ > ------------------------------------------------------------------------ > Brayan__'s Profile: http://www.hightechtalks.com/m556 > View this thread: http://www.hightechtalks.com/t2313171 > > Note that TableCells and TableRows are controls themselves, so they are
> not Yes this is the problem.> kept in ViewState, and you'd need to instantiate and add them to Table > on > every request, if that's the problem (e.g dynamically created rows & > cells > are not kept over postbacks) I add rows and cells dynamically and I can't use DataGrid and I need to add them on every postback :mad: -- Brayan__ ------------------------------------------------------------------------ Brayan__'s Profile: http://www.hightechtalks.com/m556 View this thread: http://www.hightechtalks.com/t2313171
Bound dropdownlist in .NET 2.0 -- picking the selected value?
masterpages: body event handler <customErrors mode="Off"/> ERROR Walking thr DataReader How to reference the masterpage body element in server code Repeater.Itemcommand not firing master-pages: naming problem for client-side scripting referencing and anchor from within a usercontrol (ascx) referencing and anchor from within a usercontrol (ascx) How to filter file types when using the HTMLInputFile control... |
|||||||||||||||||||||||