Hi ,
What is the event triggered when you click on a tabpanel?
I tried TabChanged but does not seem to me to be the one
This is the code:
When step on this Tab
<ext:panel id="pnlClassic" title="Appuntamenti Classico" runat="server">
I would trigger a postback
<ext:TabPanel ID="tabCentroTabbed" runat="server">
<Items>
<%--NUOVO--%>
<ext:Panel ID="PanelCenterAppuntamenti" Title="Appuntamenti Nuovo" runat="server">
<Items>
<ext:ColumnLayout ID="ColumnLayoutAppuntamenti" runat="server" Split="true" FitHeight="true">
<Columns>
<ext:LayoutColumn ColumnWidth="0.50">
<ext:Panel ID="ColumPanelDanilo" runat="server" Icon="ApplicationOsxHome" Title="APPUNTAMENTI DANILO" Border="False">
<TopBar>
<ext:Toolbar runat="server" AutoWidth="true" ID="toolbGrid">
<Items>
<ext:Button ID="btnInsert" runat="server" Icon="CalendarAdd" Text="Inserisci Appuntamento">
<Listeners>
<Click Handler="WindowAddAppDan.show()" />
</Listeners>
<ToolTips>
<ext:ToolTip ID="tlpInserisci" runat="server" Target="btnInsert" Html="Aggiungi Nuovo Appuntamento">
</ext:ToolTip>
</ToolTips>
</ext:Button>
<ext:ToolbarSeparator ID="sepUno" runat="server">
</ext:ToolbarSeparator>
<ext:Button ID="btnCancella" runat="server" Icon="CalculatorDelete" Text="Cancella Appuntamenti">
<DirectEvents>
<Click OnEvent="btnCancella_Click">
<Confirmation ConfirmRequest="true" Title="Conferma Cancellazione" Message="Sei sicuro di voler cancellare gli Appuntamenti?" />
<EventMask ShowMask="true" />
</Click>
</DirectEvents>
<ToolTips>
<ext:ToolTip runat="server" ID="tlpCancella" Target="btnCancella" Html="Cancella Appuntamenti">
</ext:ToolTip>
</ToolTips>
</ext:Button>
<ext:ToolbarSeparator ID="ToolbarSeparator2" runat="server">
</ext:ToolbarSeparator>
<ext:Button ID="btnSave" runat="server" Text="Salva Modifiche" Icon="ApplicationOsxCascade">
<Listeners>
<Click Handler="#{gridDan}.save();" />
</Listeners>
<ToolTips>
<ext:ToolTip ID="tlpAggiorna" runat="server" Target="btnSave" Html="Salva le Modifiche Fatte Agli Appuntamenti ">
</ext:ToolTip>
</ToolTips>
</ext:Button>
</Items>
</ext:Toolbar>
</TopBar>
<Items>
<ext:FitLayout ID="FitLayoutDanilo" runat="server">
<Items>
<ext:GridPanel ID="gridDan" 
StoreID="Store1" 
StripeRows="true"
AutoExpandColumn="Note"
runat="server" >
<Plugins>
<ext:RowEditor ID="editorAppuntamenti" runat="server" SaveText="Aggiorna" CancelText="Annulla" CommitChangesText=" necessario accettare o annullare le modifiche" ErrorText="Errore"></ext:RowEditor>
</Plugins>
<ColumnModel ID="columnModelDan" runat="server">
<Columns>
<ext:Column ColumnID="ID" DataIndex="ID" Hidden="true">
</ext:Column>
<ext:Column ColumnID="oraAppuntamento" Width="60" DataIndex="oraAppuntamento" Header="Orario">
<Editor>
<ext:TimeField ID="txtOraAppGrid" runat="server">
</ext:TimeField>
</Editor>
</ext:Column>
<ext:Column ColumnID="tipoLavoro" Width="80" DataIndex="tipoLavoro" Header="Tipo Lavoro">
<Editor>
<ext:TextField ID="txtTipoLavoroGrid" runat="server">
</ext:TextField>
</Editor>
</ext:Column>
<ext:Column ColumnID="nomeCliente" DataIndex="nomeCliente" Width="80" Header="Nome Cliente">
<Editor>
<ext:TextField ID="txtNomeClienteGrid" runat="server">
</ext:TextField>
</Editor>
</ext:Column>
<ext:Column ColumnID="Note" DataIndex="Note" Header="Note">
<Editor>
<ext:TextField ID="txtNoteGrid" runat="server">
</ext:TextField>
</Editor>
</ext:Column>
<ext:Column ColumnID="dataAppunt" DataIndex="dataAppunt" Width="110" Header="Data Appuntamento">
<Renderer Fn="Ext.util.Format.dateRenderer('d-m-Y')" />
<Editor>
<ext:DateField ID="txtDataAppGrid" runat="server">
</ext:DateField>
</Editor>
</ext:Column>
<ext:Column ColumnID="operatore" Width="80" DataIndex="Operatore" Header="Registrato Da">
<Editor>
<ext:TextField ID="txtOperGrid" Width="80" runat="server">
</ext:TextField>
</Editor>
</ext:Column>
</Columns>
</ColumnModel>
<SelectionModel>
<ext:CheckboxSelectionModel ID="CheckboxSelectionModelDan" runat="server" HideCheckAll="False">
<CustomConfig>
<ext:ConfigItem Name="checkOnly" Value="true" Mode="Raw" />
</CustomConfig>
</ext:CheckboxSelectionModel>
</SelectionModel>
<SaveMask ShowMask="true" />
<LoadMask ShowMask="true" />
<View>
<ext:GridView ID="gridViewDan" MarkDirty="true" runat="server"></ext:GridView>
</View>
</ext:GridPanel>
</Items>
</ext:FitLayout>
</Items>
</ext:Panel>
</ext:LayoutColumn>
<ext:LayoutColumn ColumnWidth="0.50">
<ext:Panel ID="ColumPanelGiulia" runat="server" Title="APPUNTAMENTI GIULIA" BodyStyle="padding:6px;"
Icon="ApplicationOsxHome">
<Items>
</Items>
</ext:Panel>
</ext:LayoutColumn>
</Columns>
</ext:ColumnLayout>
</Items>
</ext:Panel>
<%-- ---****************************---CLASSICO-----*******************************************--------- --%>
<ext:Panel ID="pnlClassic" Title="Appuntamenti Classico" runat="server">
<Content>
<ext:ColumnLayout ID="ColumnLayoutClassic" runat="server" Split="true" FitHeight="true">
<Columns>
<ext:LayoutColumn ColumnWidth="0.50">
<ext:Panel ID="PanelDanClassic" Border="true" BodyBorder="true" runat="server" Icon="ApplicationOsxHome" Title="APPUNTAMENTI DANILO">
<Content>
<asp:UpdatePanel ID="updPanelClassic" runat="server">
<ContentTemplate>
<asp:DataList ID="dataListAppDanClassic" 
runat="server"
HeaderStyle-CssClass="testataClassicApp" 
DataSourceID="SqlDataSorcesAppuntamenti"
DataKeyField="ID" 
GridLines="Both"

AlternatingItemStyle-CssClass="alternatingStileClassic" 
OnEditCommand="dataListAppDanClassic_EditCommand"
OnCancelCommand="dataListAppDanClassic_CancelCommand"
OnUpdateCommand="dataListAppDanClassic_UpdateCommand"
ItemStyle-CssClass="itemStile">

<HeaderTemplate>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td style="font-family:Verdana;font-size:11px; font-weight:bold;height:23px;width:70px;border-right:1px solid #d0d0d0;text-align:center;border-bottom:1px solid #d0d0d0;border-left:1px solid #eeeeee;">
Orario
</td>
<td style="font-family:Verdana;font-size:11px; font-weight:bold;height:23px;width:150px;border-right:1px solid #d0d0d0;text-align:center;border-bottom:1px solid #d0d0d0;border-left:1px solid #eeeeee;">
Tipo Lavoro
</td>
<td style="font-family:Verdana;font-size:11px; font-weight:bold;height:23px;width:150px;border-right:1px solid #d0d0d0;text-align:center;border-bottom:1px solid #d0d0d0;border-left:1px solid #eeeeee;">
Nome Cliente
</td>
<td style="font-family:Verdana;font-size:11px; font-weight:bold;height:23px;width:150px;border-right:1px solid #d0d0d0;text-align:center;border-bottom:1px solid #d0d0d0;border-left:1px solid #eeeeee;">
Note
</td>
<td style="font-family:Verdana;font-size:11px; font-weight:bold;height:23px;width:100px;border-right:1px solid #d0d0d0;text-align:center;border-bottom:1px solid #d0d0d0;border-left:1px solid #eeeeee;">
Data App.
</td>
<td style="font-family:Verdana;font-size:11px; font-weight:bold;height:23px;width:100px;border-right:1px solid #d0d0d0;text-align:center;border-bottom:1px solid #d0d0d0;border-left:1px solid #eeeeee;">
Reg. Da
</td>
<td style="font-family:Verdana;font-size:11px; font-weight:bold;height:23px;width:80px;border-right:1px solid #d0d0d0;text-align:center;border-bottom:1px solid #d0d0d0;border-left:1px solid #eeeeee;">
Edit
</td>
</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<table width="100%" cellspacing="0">
<tr>
<td style="visibility:hidden;display:none;">
<asp:Label ID="lblID" runat="server" Visible="false" Text='<%#DataBinder.Eval(Container.DataItem,"ID") %>'></asp:Label>
</td>
<td style="width:70px;padding-left:2px;">
<asp:Label ID="lblOrario" Width="70px" runat="server" Text='<%# textOrarioApp(Convert.toString(DataBinder.Eval(Container.DataItem,"oraAppuntamento"))) %>'></asp:Label>
</td>
<td style="width:150px;padding-left:2px;">
<asp:Label ID="lblTipoLavoro" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"tipoLavoro") %>'></asp:Label>
</td>
<td style="width:150px;padding-left:2px;">
<asp:Label ID="lblNomeCliente" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"nomeCliente") %>'></asp:Label>
</td>
<td style="width:150px;padding-left:2px;">
<asp:Label ID="lblNote" runat="server" Text='<%# TextWrappable(Convert.ToString(DataBinder.Eval(Container.DataItem,"Note"))) %>'></asp:Label>
</td>
<td style="width:100px;padding-left:2px;">
<asp:Label ID="lblDataAppuntamento" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"dataAppunt","{0:d}") %>'></asp:Label>
</td>
<td style="width:100px;padding-left:2px;">
<asp:Label ID="lblRegistratoDa" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"operatore") %>'></asp:Label>
</td> 
<td style="width:80px;text-align:center;">
<asp:ImageButton ID="btnEdit" Width="16px" Height="16px" ToolTip="Aggiorna Dati Appuntamento" runat="server" ImageUrl="~/Immagini/Edit.png" CommandName="Edit" />
</td> 
</tr>
</table>
</ItemTemplate>
<EditItemTemplate>

<table width="100%" cellspacing="0">
<tr>
<td style="width:70px;">
<asp:Label Width="70px" ID="lblOrarioUpdate" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"oraAppuntamento") %>'></asp:Label>
</td>
<td style="width:150px; text-align:left;">
<asp:TextBox CssClass="txtEditDataList" Width="100px" ID="txtTipoLavoro" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"tipoLavoro") %>'></asp:TextBox>
</td>
<td style="width:150px;text-align:left;">
<asp:TextBox CssClass="txtEditDataList" Width="100px" ID="txtNomeCliente" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"nomeCliente") %>'></asp:TextBox>
</td>
<td style="width:150px;text-align:left;">
<asp:TextBox CssClass="txtEditDataList" Width="120px" ID="txtNote" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Note") %>'></asp:TextBox>
</td>
<td style="width:100px;text-align:left;">
<asp:TextBox Width="80px" CssClass="txtEditDataList" ID="txtDataAppuntamento" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"dataAppunt","{0:d}") %>'></asp:TextBox>
</td>
<td style="width:100px;text-align:left;">
<asp:TextBox Width="80px" CssClass="txtEditDataList" ID="txtRegistratoDa" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"operatore") %>'></asp:TextBox>
</td> 
<td style="width:80px;text-align:center;">
<asp:ImageButton ID="btnUpdate" Width="16px" ToolTip="Salva Aggiornamenti" Height="16px" runat="server" ImageUrl="~/Immagini/Update.png" CommandName="Update" />
<asp:ImageButton ID="btnCancel" Width="16px" Height="16px" ToolTip="Cancella Aggiornamento" runat="server" ImageUrl="~/Immagini/cancel.png" CommandName="Cancel" />
</td> 
</tr>
</table>

</EditItemTemplate> 
</asp:DataList>
</ContentTemplate>
</asp:UpdatePanel>
</Content>
</ext:Panel>
</ext:LayoutColumn>
<ext:LayoutColumn ColumnWidth="0.50">
<ext:Panel ID="PanelGiuliaClassic" runat="server" Title="APPUNTAMENTI GIULIA" BodyStyle="padding:6px;" Icon="ApplicationOsxHome">
<Content>

</Content>
</ext:Panel>
</ext:LayoutColumn>
</Columns>
</ext:ColumnLayout>
</Content>
</ext:Panel>
</Items>
</ext:TabPanel>
Thanks a lot
Fabrizio