i have this issue that i just got what is causing in and it is the rad window..and what is annoting is that it doesnt happen evey time ..i have a rad grid with 1 column as command column when clicked a radwindow will apear using this code
Dim window1 As New Telerik.Web.UI.RadWindow |
window1.Modal = True |
window1.Title = "Assign Team" |
window1.VisibleTitlebar = True |
window1.Width = 500 |
window1.Height = 500 |
window1.DestroyOnClose = True |
window1.NavigateUrl = "~/assign_team_mod.aspx" |
windowmanager.Windows.Add(window1) |
window1.VisibleOnPageLoad = True |
when i just close the window i press edit or do anything in my page that causes a postback opperation i get the following error!!
sys.webforms.pagerequestmanagerservererrorexception: failed to load viewstate. the control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. for example when adding the controls dynamically, the controls added during the post-back must match the type and position of the controls added during the initial reques |
i posted this problem in the grid forum but i just realised that the cause was closing the window so..any idea of what am i doing wrong?