Hi,
I am using Radgrid, I have a colum with the html link upon clicking on that we are opening a radwindow , I have to preserve the rad windows even when the parent Radgrid refreshes ( Postback), I am using asp.net timer control to refresh the grid at a particular interval, as soon as the grid refreshes the windows disappear , Please suggest me how can I preserve the rad window during postback..
we are using DLL version of 2009.1.311.35.
I have done the below code to achieve that.
Thanks,
Ambuj
I am using Radgrid, I have a colum with the html link upon clicking on that we are opening a radwindow , I have to preserve the rad windows even when the parent Radgrid refreshes ( Postback), I am using asp.net timer control to refresh the grid at a particular interval, as soon as the grid refreshes the windows disappear , Please suggest me how can I preserve the rad window during postback..
we are using DLL version of 2009.1.311.35.
I have done the below code to achieve that.
protected override object SaveViewState() { Control windowsManager = ctlVariables.FindControl("listPopupManager"); Control windows = windowsManager.FindControl("variableValue"); Object basestate = base.SaveViewState(); object[] allStates = new object[10]; allStates[0] = windows.Visible; return allStates; } protected override void LoadViewState(object savedState) { if (savedState != null) { object[] myState = (object[])savedState; if (myState[0] != null) { string visible = myState[1].ToString(); } }Thanks,
Ambuj