Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Infragistics control requires a ScriptManager object
posted

I created a simple MasterPage and a content page which includes a WebSplitter control.  I am getting an error stating "Infragistics control requires a ScriptManager object on the page".  I added a ScriptManager control on the Master page and I still get the error.  I tried moving the ScriptManager to the content page and the results are the same.  Here is my MasterPage:

<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="PBAMasterPage.master.cs" Inherits="PBA.PBAMasterPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >

    <head runat="server">

        <title>Test Master Page</title>

    </head>

    <body>

        <form id="form1" runat="server">

            <asp:ScriptManager runat="server" ID="scriptmanager1">

            </asp:ScriptManager>

            <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">

            </asp:ContentPlaceHolder>

        </form>

    </body>

</html>

 

This is the content page using a WebSplitter:

<%@ Page Language="C#" MasterPageFile="~/PBAMasterPage.Master" AutoEventWireup="true" CodeBehind="PBAContent.aspx.cs" Inherits="PBA.PBAContent" Title="Untitled Page" %>

<%@ Register Assembly="Infragistics2.WebUI.UltraWebGrid.v8.1, Version=8.1.20081.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.UltraWebGrid" TagPrefix="igtbl" %>

<%@ Register Assembly="Infragistics2.Web.v8.1, Version=8.1.20081.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"

Namespace="Infragistics.Web.UI.LayoutControls" TagPrefix="ig" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <ig:WebSplitter runat="server" ID="TraditionalLeftNav" Orientation="Vertical" Height="600px">

        <Panes>

            <ig:SplitterPane ToolTip="Navigation Pane" Size="30%">

                <Template>

                    <div id="header">

                        <img alt="header image" src="../../../images/image1.bmp" width="199" height="54" />

                    </div>

                    <ul>

                        <li><a href="http://www.yahoo.com" target="_view">Yahoo</a></li>

                        <li><a href="http://www.google.com" target="_view">Google</a></li>

                    </ul>

                </Template>

            </ig:SplitterPane>

            <ig:SplitterPane ToolTip="Content Pane" Size="70%">

                <Template>

                    <iframe name="_view" id="_view" style="width: 100%; height: 100%; border: none 0px; margin: 0px; padding: 0px;" frameborder="0" src="http://www.yahoo.com">

                    </iframe>

                </Template>

            </ig:SplitterPane>

        </Panes>

    </ig:WebSplitter>

</asp:Content>