Hello!
I am trying to create my own Page class which all my pages will inherit from instead of System.Web.UI.Page. This is so that can add different controllers and do various settings on all pages through many different projects (I know about Master pages and I use that as well, but this is used between various projects).
The problem is when I try to add the RadScriptManager via my own Page class, some of the RadAjaxPanels will not work and it is like the page is sometimes acting a bit strange. It seems that the panels that are added via codebehind/Control classes works like they should, but the ones added in ASPX pages does not work. I have tried adding the RadScriptManager in both Init and Load, both before and after base.methodName(). I have also tried both Add and AddAt(0) on this.Form.Controls.
Is there any solution to adding the RadScriptManager in a .cs class/codebehind or are the controls dependent of it beging added (on top) in the ASPX page?
I am using version 2009.1.422.20.
Thank you.
I am trying to create my own Page class which all my pages will inherit from instead of System.Web.UI.Page. This is so that can add different controllers and do various settings on all pages through many different projects (I know about Master pages and I use that as well, but this is used between various projects).
The problem is when I try to add the RadScriptManager via my own Page class, some of the RadAjaxPanels will not work and it is like the page is sometimes acting a bit strange. It seems that the panels that are added via codebehind/Control classes works like they should, but the ones added in ASPX pages does not work. I have tried adding the RadScriptManager in both Init and Load, both before and after base.methodName(). I have also tried both Add and AddAt(0) on this.Form.Controls.
Is there any solution to adding the RadScriptManager in a .cs class/codebehind or are the controls dependent of it beging added (on top) in the ASPX page?
I am using version 2009.1.422.20.
Thank you.