Hi,
I've a master page that contains RadScriptManager, a default.aspx page that contains a RadTabStrip and a RadMultiPage. I've an Xml file that defines a collection of user controls with each element defining attributes of the control. In the Page_Load method of Default.aspx.cs, I'm dynamically generating a RadTab and and a PageView for each control definition in the Xml file (controls are exactly same except that they are bound to different server/databases to support various groups). I'm able to succesfully generate RadTab for each control. However when I click any of the controls in the loaded user control (e.g. a ListBox selection change), I end up getting a Jscript error in VS 2010 that says:
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Value cannot be null.
Parameter name: source
I've tried everything that I could think of such as loading the controls on Page_Load (outside and inside !IsPostBack), setting autopostback of TabStrip to true, to no avail. I'm not able to hit the code in the project at all since the JScript error is thrown before that. BTW if I use an asp:placeholder and generate the controls inside a table and add them to placeholder everything works fine. This has something to do with RadTabStrip and RadMultiPage combination.
Could you please suggest what could be the reason for seeing this issue?
Thanks,
Kirpa
I've a master page that contains RadScriptManager, a default.aspx page that contains a RadTabStrip and a RadMultiPage. I've an Xml file that defines a collection of user controls with each element defining attributes of the control. In the Page_Load method of Default.aspx.cs, I'm dynamically generating a RadTab and and a PageView for each control definition in the Xml file (controls are exactly same except that they are bound to different server/databases to support various groups). I'm able to succesfully generate RadTab for each control. However when I click any of the controls in the loaded user control (e.g. a ListBox selection change), I end up getting a Jscript error in VS 2010 that says:
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Value cannot be null.
Parameter name: source
I've tried everything that I could think of such as loading the controls on Page_Load (outside and inside !IsPostBack), setting autopostback of TabStrip to true, to no avail. I'm not able to hit the code in the project at all since the JScript error is thrown before that. BTW if I use an asp:placeholder and generate the controls inside a table and add them to placeholder everything works fine. This has something to do with RadTabStrip and RadMultiPage combination.
Could you please suggest what could be the reason for seeing this issue?
Thanks,
Kirpa