J
Josema
Hi, to all..
I have 2 web controls (MyDataGrid.cs, MyCalendar.cs
The first inherits from calendar, and i have implemented the event MyCalendar_SelectionChanged and inside of this i put in the viewstate a datatable that i filled (and its filled, i verified)... like this
Viewstate.Add("DATA", MyDataTable)
The second inherits from DataGrid, and i override the On_Load in the control and inside this i have
this.DataSource=Viewstate["DATA"]
this.DataBind()
But doesnt ocurr nothing... Im doing well the use of the viewstate?..
Thanks very much.
Josema.
I have 2 web controls (MyDataGrid.cs, MyCalendar.cs
The first inherits from calendar, and i have implemented the event MyCalendar_SelectionChanged and inside of this i put in the viewstate a datatable that i filled (and its filled, i verified)... like this
Viewstate.Add("DATA", MyDataTable)
The second inherits from DataGrid, and i override the On_Load in the control and inside this i have
this.DataSource=Viewstate["DATA"]
this.DataBind()
But doesnt ocurr nothing... Im doing well the use of the viewstate?..
Thanks very much.
Josema.