Ho fatto molte prove ma non c'è verso di togliere il problema...
La cosa strana è che se provo il tutto in una pagina dove metto solo il necessario, cioè textbox,calendar,popupcontrolextender,panel e updatepanel tutto funziona a meraviglia, appena inserisco il tutto nella mia pagina si propone nuovamente il problema.
Che sia qualche bug del controllo?
Qualcuno lo sta usando in qualche sito/applicazione?
Ecco il codice completo della pagina:
<%@ Page Language="C#" MasterPageFile="~/MPserit.master" AutoEventWireup="true" CodeFile="EstrattoContoAmminCliente.aspx.cs" Inherits="EstrattoContoAmministratore" Title="Untitled Page" %>
<%@ Register Assembly="AtlasControlToolkit" Namespace="AtlasControlToolkit" TagPrefix="AtlasToolkit" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<atlas:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="True">
</atlas:ScriptManager>
<atlas:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div align="center">
<br />
<strong>Scegli Tipologia:</strong> <asp:RadioButtonList ID="sceltaRBL" runat="server" AutoPostBack="True"
CellSpacing="5" OnSelectedIndexChanged="sceltaRBL_SelectedIndexChanged" RepeatDirection="Horizontal"
RepeatLayout="Flow">
<asp:ListItem Value="EC" Selected="True">Informazioni Esercenti</asp:ListItem>
<asp:ListItem>Pagamenti</asp:ListItem>
</asp:RadioButtonList><br />
<br />
<br />
Periodo
Comune
Esercente<br />
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
<asp:ListItem Value="Tutti" Selected="True">Visualizza tutti</asp:ListItem>
<asp:ListItem>Odierni</asp:ListItem>
<asp:ListItem Value="MeseCorr">Mese Corrente</asp:ListItem>
<asp:ListItem Value="SelezionaP">Selezione manuale</asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True" AppendDataBoundItems="True" DataSourceID="SqlDataSource2" DataTextField="comune" DataValueField="comune">
<asp:ListItem Selected="True" Value="SelezionaC">Tutti</asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList3" runat="server" AutoPostBack="True" AppendDataBoundItems="True" DataSourceID="SqlDataSource3" DataTextField="user_id" DataValueField="user_id">
<asp:ListItem Selected="True" Value="ScegliE">Tutti</asp:ListItem>
</asp:DropDownList><br />
<br />
<br />
<br />
<asp:Panel ID="Panel1" runat="server" Height="50px" Width="409px" Visible="False">
Inizio<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> Fine
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
<br />
<br />
<asp:Panel ID="Panel2" runat="server" Height="50px" Width="125px" style="visibility:hidden;">
<asp:Calendar ID="Calendar1" runat="server" OnSelectionChanged="Calendar1_SelectionChanged" BackColor="#FFFFCC" BorderColor="#FFCC66" BorderWidth="1px" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#663399" Height="140px" Width="160px" ShowGridLines="True" OnVisibleMonthChanged="Calendar1_VisibleMonthChanged">
<SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
<TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
<SelectorStyle BackColor="#FFCC66" />
<OtherMonthDayStyle ForeColor="#CC9966" />
<NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
<DayHeaderStyle BackColor="#FFCC66" Height="1px" Font-Bold="True" />
<TitleStyle BackColor="#990000" Font-Bold="True"
Font-Size="9pt" ForeColor="#FFFFCC" />
</asp:Calendar>
</asp:Panel>
<asp:Panel ID="Panel3" runat="server" Height="50px" Width="125px" style="visibility:hidden;">
<asp:Calendar ID="Calendar2" runat="server" OnSelectionChanged="Calendar2_SelectionChanged" BackColor="#FFFFCC" BorderColor="#FFCC66" BorderWidth="1px" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#663399" Height="140px" Width="160px" ShowGridLines="True">
<SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
<TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
<SelectorStyle BackColor="#FFCC66" />
<OtherMonthDayStyle ForeColor="#CC9966" />
<NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
<DayHeaderStyle BackColor="#FFCC66" Height="1px" Font-Bold="True" />
<TitleStyle BackColor="#990000" Font-Bold="True"
Font-Size="9pt" ForeColor="#FFFFCC" />
</asp:Calendar>
</asp:Panel>
<AtlasToolkit:PopupControlExtender ID="PopupControlExtender1" runat="server">
<AtlasToolkit:PopupControlProperties TargetControlID="TextBox1" PopupControlID="Panel2" Position="Bottom" />
<AtlasToolkit:PopupControlProperties TargetControlID="TextBox2" PopupControlID="Panel3" Position="Bottom"/>
</AtlasToolkit:PopupControlExtender>
<br />
</asp:Panel>
<br />
<asp:Button ID="Button1" runat="server" OnClick="Button3_Click" Text="Visualizza" />
</div>
</ContentTemplate>
</atlas:UpdatePanel>
<p>
<atlas:UpdatePanel ID="UpdatePanel4" runat="server">
<ContentTemplate>
<div align="center">
<asp:GridView ID="GridView1" runat="server" CellPadding="4" AllowSorting="True" AllowPaging="True" style="border-right: black thin solid; border-top: black thin solid; border-left: black thin solid; border-bottom: black thin solid; text-align: center;" Font-Size="0.9em" DataSourceID="SqlDataSource1" PageSize="5" OnPageIndexChanging="GridView1_PageIndexChanging" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" OnSorting="GridView1_Sorting" ForeColor="#333333" GridLines="None">
<FooterStyle BackColor="#990000" ForeColor="White" Font-Bold="True" />
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
<PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:CommandField SelectText="Sel" ShowSelectButton="True" />
</Columns>
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<br />
<br />
<br />
<asp:Button ID="StampaButton" runat="server" Text="Stampa Quietanza" Visible="False" OnClientClick="javascript:void(window.open('StampaQuietanza.aspx','_blank'))" /></div>
</ContentTemplate>
</atlas:UpdatePanel>
</p>
<p>
</p>
<p>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True" ProviderName="System.Data.SqlClient">
</asp:SqlDataSource>
</p>
<p>
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True"
ProviderName="System.Data.SqlClient" SelectCommand="Select distinct comune from rav JOIN pagamenti on rav=codice_rav order by comune">
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ASPNETDB.MDF;Integrated Security=True;User Instance=True"
ProviderName="System.Data.SqlClient" SelectCommand="Select distinct user_id from pagamenti order by user_id">
</asp:SqlDataSource>
</p>
</asp:Content>
Modificato da marcolf il 31 agosto 2006 17.51 -