Ajax and masterpage issues

Discussion in 'ASP .Net' started by egsdar, Oct 18, 2008.

  1. egsdar

    egsdar Guest

    Hello, I have a new issue between a new web form and Ajax Control Toolkit,
    specifically a Tab Control, the thing is that I masterpage that i like to use
    and this is the code:

    <%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Title="Untitled
    Page" AutoEventWireup="true" Inherits="_Default" %>

    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"
    TagPrefix="cc1" %>

    <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2"
    Runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>

    <br />
    <cc1:TabContainer ID="TabContainer1" runat="server"
    ActiveTabIndex="0" Style="position: static"><cc1:TabPanel runat="server"
    HeaderText="TabPanel1" ID="TabPanel1"></cc1:TabPanel>
    </cc1:TabContainer>
    </asp:Content>


    And is displaying this error:

    Parser Error
    Description: An error occurred during the parsing of a resource required to
    service this request. Please review the following specific parse error
    details and modify your source file appropriately.

    Parser Error Message: The base class includes the field 'ScriptManager1',
    but its type (AjaxControlToolkit.ToolkitScriptManager) is not compatible with
    the type of control (System.Web.UI.ScriptManager).

    Source Error:


    Line 4:
    Line 5: <asp:Content ID="Content1"
    ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    Line 6: <asp:ScriptManager ID="ScriptManager1" runat="server">
    Line 7: </asp:ScriptManager>
    Line 8:

    How can I solve this?
    Thanks.
    egsdar, Oct 18, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?QWxleCBNYWdoZW4=?=

    MasterPage -> Page -> MasterPage Code Access

    =?Utf-8?B?QWxleCBNYWdoZW4=?=, Apr 10, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    7,866
    Steven Cheng[MSFT]
    Apr 14, 2006
  2. ThunderMusic
    Replies:
    2
    Views:
    432
    Gregory Gadow
    Sep 27, 2006
  3. Randy Smith
    Replies:
    9
    Views:
    410
    Mark Rae
    Apr 14, 2007
  4. mr t
    Replies:
    0
    Views:
    386
  5. Torben Laursen
    Replies:
    4
    Views:
    567
    clintonG
    Mar 15, 2008
Loading...

Share This Page