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" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager runat="server" ID="scriptmanager1">
</asp:ScriptManager>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</form>
</html>
This is the content page using a WebSplitter:
<%@ 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" %>
<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%">
<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>
</Panes>
</asp:Content>
You should use a ScriptManager on the Master page, and a ScriptManagerProxy on the content pages. Just add a ScriptManagerProxy to your client page, and you should be set.
-Tony
Thanks for the quick reply. I added the ScriptManagerProxy and everything is working fine.