Hi,
I have the following set-up:
A master page with a script manager on it.
A contentpage derived from the master page, which has a userControl on it.
The userControl has a WebDialog contol on it.
When I try to view the page, I get the message "This Infragistics control requires a ScriptManager object on the page in order to operate correctly".
I tired to:
Any help you can offer would be very much appreciated.
Regards
Alistair
I am having the same issue. Although I don't have a script manager on my Master Page I have it directly on the page I am working with and I still get this error. This Infragistics control requires a ScriptManager object on the page in order to operate correctly.
I/we would appreciate any advice or help we can get.
Jim
I also have this issue.
'This Infragistics control requires a ScriptManager object on the page in order to operate correctly.'
I have a ScriptManager on the master page, a ScriptManagerProxy on the UserControl, and a WebDialogWindow on the UserControl.
I am targeting .NET Framework 3.5.
Tried it out in a sample seems to work...
Here is my master page:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<!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></title>
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
Master page
<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">
</div>
</form>
</body>
</html>
Here is the content form:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" MasterPageFile="~/MasterPage.master" %>
<%@ Register Assembly="Infragistics35.Web.v9.1, Version=9.1.20091.2013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
Namespace="Infragistics.Web.UI.LayoutControls" TagPrefix="ig" %>
<%@ Register src="WebUserControl.ascx" tagname="WebUserControl" tagprefix="uc1" %>
<asp:Content ID="q" ContentPlaceHolderID=ContentPlaceHolder1 runat=server>
<asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
</asp:ScriptManagerProxy>
<ig:WebDialogWindow ID="WebDialogWindow1" runat="server" Height="300px" Width="400px">
</ig:WebDialogWindow>
<uc1:WebUserControl ID="WebUserControl1" runat="server" />
</asp:Content>
Here is the user control:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="WebUserControl.ascx.cs" Inherits="WebUserControl" %>
Everything seems to be ok.
Could you share a simple sample? Thanks!
1 script manager in the master page, and 1 script proxy in the content page and all sorted (as it is shown in the aspx published above, thanks alexander for your clear and straight forward code). Just make sure to put the script manager and proxy before the controls.
good luck!.