Hi
I was creating custom modules, in the version previous, and i am using telerik, all was working fine
I see now that you include telerik dll, also i think that the RadScriptManager (and probably also the radjaxmanager?) is referenced in the core because i have this message now when i put this in an ascx control of my module
A critical error has occurred.
Only one instance of a ScriptManager can be added to the page.
my code is including the following lines in an ascx inside the directory "desktopmodules\myModule\" of the installation
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
<div style="width: 92%">
<asp:PlaceHolder ID="PlaceHolder1" runat="server">
<asp:Button ID="Buttondename" runat="server" Text="Button" />
</asp:PlaceHolder>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
</telerik:RadAjaxManager>
</div>
in some part of the code of my control i need referenced like this
RadGrid grid = (RadGrid)PlaceHolder1.FindControl("RadGrid1");
RadAjaxManager1.AjaxSettings.AddAjaxSetting(grid, grid);
i can use the findcontrol to the find this comparing "all" with the type but i think that this will be very slow
please let me know how reference the radajaxmanager that is in the page.
Thanks