I am using DotNetNuke 4.8.4 and Telerik RadGrid for ASP.NET Ajax and System.Web.Extensions V1.
- DotNetNuke.dll 4.8.4.2
- Telerik.Web.UI.dll 2008.01.0619.20
- System.Web.Extensions.dll 1.0.61231.0
My aspx is almost an exact copy of telerik's grid column editors example.
Problem:
- When DNN 4.8.4 Ajax is enabled:
Host Settings > Other Settings > Enable Ajax? checked
- and I include a script manager control on the ASPX page:
<asp:ScriptManager ID="ScriptManager" runat="server" />
- I get the following exception:
System.InvalidOperationException: Only one instance of a ScriptManager can be added to the page
- So I remove the ScriptManager control and I get javascript errors:
'Sys.Webforms.PageRequestManager.getInstance()' is null or not an object
Solution:
I disabled DNN Ajax and included the script manager control on the aspx page. All works fine.
I would like to be able to enable DNN Ajax and still have the telerik controls work. I would also like to know why I receive javascript errors when I don't include the script manager control (I am assuming that DNN has added the script manager control from the previous exception - stating one already exists).