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
20
WebSchedule and Master Pages
posted

We are attempting to add a WebScheduleInfo control to our pages and are running into some problems with Content pages.  We can successfully add all the required controls and access the SqlServer database from standalone aspx pages.  But any attempts to add those exact same controls to a Master page results in a timed out connection to the database.  Below are two example aspx pages.

 

 testNoMaster.aspx.  This sample works correctly, connects to the database and dispalys appointments for the current month.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="testNoMaster.aspx.cs" Inherits="SimpleWebApplication.testNoMaster" %>

<%@ Register Assembly="Infragistics35.WebUI.WebSchedule.v8.1, Version=8.1.20081.2033, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"

Namespace="Infragistics.WebUI.WebSchedule" TagPrefix="igsch" %>

<%@ Register Assembly="Infragistics35.WebUI.WebScheduleDataProvider.v8.1, Version=8.1.20081.2033, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"

Namespace="Infragistics.WebUI.Data" TagPrefix="ig_scheduledata" %>

<!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>Untitled Page</title> </head>

<body>

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

<div>

<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"

SelectCommand=";"></asp:SqlDataSource>

<ig_scheduledata:WebScheduleSqlClientProvider ID="WebScheduleSqlClientProvider1"

runat="server" DataSourceID="SqlDataSource1"

WebScheduleInfoID="WebScheduleInfo1">

</ig_scheduledata:WebScheduleSqlClientProvider>

<igsch:WebScheduleInfo ID="WebScheduleInfo1" runat="server">

</igsch:WebScheduleInfo>

<igsch:WebMonthView ID="WebMonthView1" runat='server'

WebScheduleInfoID="WebScheduleInfo1">

</igsch:WebMonthView>

</div>

</form> </body>

</html>

 

 

This page times out when attempting to connect to the database.  The controls in the content pane are a direct copy from the page above that works correctly.

<%@ Page Language="C#" MasterPageFile="~/Site3.Master" AutoEventWireup="true" CodeBehind="testMaster.aspx.cs" Inherits="SimpleWebApplication.testMaster" Title="Untitled Page" %>

<%@ Register Assembly="Infragistics35.WebUI.WebSchedule.v8.1, Version=8.1.20081.2033, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"

Namespace="Infragistics.WebUI.WebSchedule" TagPrefix="igsch" %>

<%@ Register Assembly="Infragistics35.WebUI.WebScheduleDataProvider.v8.1, Version=8.1.20081.2033, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"

Namespace="Infragistics.WebUI.Data" TagPrefix="ig_scheduledata" %>

 

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

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

<div>

<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"

SelectCommand=";"></asp:SqlDataSource>

<ig_scheduledata:WebScheduleSqlClientProvider ID="WebScheduleSqlClientProvider1"

runat="server" DataSourceID="SqlDataSource1"

WebScheduleInfoID="WebScheduleInfo1">

</ig_scheduledata:WebScheduleSqlClientProvider>

<igsch:WebScheduleInfo ID="WebScheduleInfo1" runat="server">

</igsch:WebScheduleInfo>

<igsch:WebMonthView ID="WebMonthView1" runat='server'

WebScheduleInfoID="WebScheduleInfo1">

</igsch:WebMonthView>

</div>

</asp:Content>

 

 

Can anyone point me to a solution to this problem.  If we can not find one we will most likely be finding some other controls to purchase instead.

Andrew Taft