Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andy 1 post 21 karma points
    Oct 15, 2012 @ 11:05
    Andy
    0

    User Control using Ajax

    Hi, I'm trying to create a user control that uses components from the AjaxControlToolkit. The User Control works fine in Firefox but not in Chrome or IE. A simple example is given below:

    The User Control is setup as follows:

    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UmbCC1v0.ascx.cs" Inherits="UmbCC1v0.UmbCC1v0" %>
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
    <ajaxToolkit:ToolkitScriptManager runat="server"></ajaxToolkit:ToolkitScriptManager>
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
        <ajaxToolkit:SliderExtender runat="server" BoundControlID="TextBox1" 
            TargetControlID="TextBox2"></ajaxToolkit:SliderExtender>

    The ascx and dll's are copied across to an Umbraco 4.9.0 site. Firefox shows the user control in a page as expected, however IE and Chrome both just show the 2 text boxes. The error shown in IE Developer is:

    SCRIPT5022: Sys.ArgumentUndefinedException: Value cannot be undefined.

    Parameter name: baseType

    I have tried a variety of different approaches to solving this as outlined in the forums but without sucess.

    Please can someone point me in the direction of how to do this.

    Thanks

    Andy.

Please Sign in or register to post replies

Write your reply to:

Draft