This is a migrated thread and some comments may be shown as answers.

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

1 Answer 76 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
hkdave95
Top achievements
Rank 2
hkdave95 asked on 05 Oct 2007, 05:52 PM
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

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 08 Oct 2007, 06:14 AM
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
Tags
Ajax
Asked by
hkdave95
Top achievements
Rank 2
Answers by
Vlad
Telerik team
Share this question
or