Sys.InvalidExceptionOperation: Type Telerik.Web.UI.RadAjaxControl has already been registered

2 posts, 0 answers
  1. hkdave95
    hkdave95 avatar
    245 posts
    Member since:
    Nov 2006

    Posted 05 Oct 2007 Link to this post

    Hi

    I am getting the above error when loading an ascx wihin a RadGrid to view one of the grid items.

    I have one Telerik.UI Control being a NumericTextBox on the form.

    The aspx is as below :
    <%@ Control Language="VB" AutoEventWireup="false" CodeFile="rgSearchResults.ascx.vb" Inherits="rgSearchResults" %> 
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
    <table style="background-image: url('../images/light-tile.gif'); width: 100%; height:100%;"
        <tr> 
            <td> 
                Photos: 
            </td> 
            <td> 
                <div id="divPhotos" runat="server"
                </div> 
            </td> 
        </tr> 
        <tr> 
            <td> 
                Description: 
            </td> 
            <td> 
                <asp:Label ID="lblDescription" runat="server"></asp:Label> 
            </td> 
        </tr> 
        <tr> 
            <td> 
                Price 
            </td> 
            <td> 
                <asp:Label ID="lblPrice" runat="server"></asp:Label> 
            </td> 
        </tr> 
        <tr> 
            <td> 
                Availability 
            </td> 
            <td> 
                <asp:Label ID="lblAvailability" runat="server"></asp:Label> 
            </td> 
        </tr> 
        <tr> 
            <td colspan="2" align="center"
                Quantity&nbsp;<telerik:RadNumericTextBox ID="nQuantity" runat="server" MinValue="0" MaxLength="3" NumberFormat-DecimalDigits="0" Width="45px"></telerik:RadNumericTextBox>&nbsp;<asp:Button ID="btnAddToCart" runat="server" Text="Add To Cart" CommandName="btnAddToCart" /> 
            </td> 
        </tr> 
        <tr> 
            <td colspan="2" align="center"
                <asp:Button ID="btnClose" runat="server" Text="Close" CommandName="btnClose" /> 
            </td> 
        </tr> 
    </table> 

    Kind Regards

    David
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 08 Oct 2007 Link to this post

    Hi David,

    If the grid is in ajax mode please set EnableAJax to false to resolve this.

    Best wishes,
    Vlad
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top