update a versioen test demo 12.09.12
VERS 0.3.40
This commit is contained in:
Binary file not shown.
@@ -8,9 +8,17 @@
|
||||
TagPrefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<div class="divSx fontPiccolo" style="min-width: 780px; width: 100%;">
|
||||
<uc2:mod_filtroRicerca ID="mod_filtroRicerca1" runat="server" />
|
||||
<div style="width: 100%">
|
||||
<uc1:mod_archivioDocumenti ID="mod_archivioDocumenti1" runat="server" />
|
||||
</div>
|
||||
<asp:UpdatePanel ID="updPnlRicerca" runat="server" UpdateMode="Conditional" RenderMode="Inline">
|
||||
<ContentTemplate>
|
||||
<uc2:mod_filtroRicerca ID="mod_filtroRicerca1" runat="server" />
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
<asp:UpdatePanel ID="updPnlDocumenti" runat="server" UpdateMode="Conditional" RenderMode="Inline">
|
||||
<ContentTemplate>
|
||||
<div style="width: 100%; padding-bottom: 2px;">
|
||||
<uc1:mod_archivioDocumenti ID="mod_archivioDocumenti1" runat="server" />
|
||||
</div>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
</div>
|
||||
</asp:Content>
|
||||
|
||||
@@ -26,6 +26,7 @@ namespace ETS_WS
|
||||
void mod_filtroRicerca1_eh_pageResize(object sender, EventArgs e)
|
||||
{
|
||||
mod_archivioDocumenti1.pageSize = utils.obj.IntSessionObj("srcPageSize");
|
||||
updPnlDocumenti.Update();
|
||||
}
|
||||
/// <summary>
|
||||
/// chiesta update x aggiornamento criteri ricerca
|
||||
@@ -35,6 +36,7 @@ namespace ETS_WS
|
||||
void mod_filtroRicerca1_eh_reqSearch(object sender, EventArgs e)
|
||||
{
|
||||
mod_archivioDocumenti1.doUpdate();
|
||||
updPnlDocumenti.Update();
|
||||
}
|
||||
}
|
||||
}
|
||||
+18
@@ -12,6 +12,15 @@ namespace ETS_WS {
|
||||
|
||||
public partial class GestioneDocumenti {
|
||||
|
||||
/// <summary>
|
||||
/// updPnlRicerca control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdatePanel updPnlRicerca;
|
||||
|
||||
/// <summary>
|
||||
/// mod_filtroRicerca1 control.
|
||||
/// </summary>
|
||||
@@ -21,6 +30,15 @@ namespace ETS_WS {
|
||||
/// </remarks>
|
||||
protected global::ETS_WS.WebUserControls.mod_filtroRicerca mod_filtroRicerca1;
|
||||
|
||||
/// <summary>
|
||||
/// updPnlDocumenti control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.UpdatePanel updPnlDocumenti;
|
||||
|
||||
/// <summary>
|
||||
/// mod_archivioDocumenti1 control.
|
||||
/// </summary>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<EditRowStyle CssClass="ctrEditRowStyle" />
|
||||
<SelectedRowStyle CssClass="ctrSelRowStyle" />
|
||||
<FooterStyle CssClass="ctrFooter" />
|
||||
<PagerStyle CssClass="ctrHeaderPager" ForeColor="White" HorizontalAlign="Center" />
|
||||
<PagerStyle CssClass="ctrHeaderPager" ForeColor="White" HorizontalAlign="Center" Font-Size="9pt" />
|
||||
<HeaderStyle CssClass="ctrHeaderPager" ForeColor="White" Font-Bold="True" />
|
||||
<EmptyDataRowStyle CssClass="ctrRowStyle" />
|
||||
<Columns>
|
||||
|
||||
@@ -50,6 +50,10 @@
|
||||
ServiceMethod="elencoOggettiByDoc" minCharAutocomplete="3" showKey="false" toolTip="Digitare per iniziare ricerca, min 3 char"
|
||||
textEmWidht="15" Visible="false" />
|
||||
</div>
|
||||
<div class="divSx">
|
||||
<asp:Button runat="server" ID="btnUpdate" Text="Update" Visible="false"
|
||||
onclick="btnUpdate_Click" />
|
||||
</div>
|
||||
<div class="divDx">
|
||||
<asp:Label runat="server" ID="LabelblPageSize" Text="Risultati per pagina" CssClass="labelInput" /><br />
|
||||
<asp:DropDownList ID="ddlPageSize" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
|
||||
@@ -63,4 +67,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -25,11 +25,11 @@ namespace ETS_WS.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
updateVisual();
|
||||
tacCommesse.eh_valSelezionato += new EventHandler(tacCommesse_eh_valSelezionato);
|
||||
tacFasi.eh_valSelezionato += new EventHandler(tacFasi_eh_valSelezionato);
|
||||
tacFonti.eh_valSelezionato += new EventHandler(tacFonti_eh_valSelezionato);
|
||||
tacOggetto.eh_valSelezionato += new EventHandler(tacOggetto_eh_valSelezionato);
|
||||
displayResults();
|
||||
}
|
||||
/// <summary>
|
||||
/// salvo ricerca oggetto
|
||||
@@ -105,6 +105,14 @@ namespace ETS_WS.WebUserControls
|
||||
private void updateVisual()
|
||||
{
|
||||
// aggiorno label num records
|
||||
displayResults();
|
||||
btnUpdate.Visible = true;
|
||||
}
|
||||
/// <summary>
|
||||
/// mostra num risultati ricerca
|
||||
/// </summary>
|
||||
private void displayResults()
|
||||
{
|
||||
lblTotRec.Text = utils.obj.taDoc.getBySearch_Count(0, 0, utils.obj.StringSessionObj("srcCommessa"), utils.obj.StringSessionObj("srcFase"), utils.obj.StringSessionObj("srcFonte"), utils.obj.StringSessionObj("srcOggetto"), "", txtSearchAll.Text.Trim(), 0, 0, "").ToString();
|
||||
}
|
||||
|
||||
@@ -217,6 +225,19 @@ namespace ETS_WS.WebUserControls
|
||||
eh_pageResize(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// richiede update valori
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnUpdate_Click(object sender, EventArgs e)
|
||||
{
|
||||
btnUpdate.Visible = false;
|
||||
if (eh_reqSearch != null)
|
||||
{
|
||||
eh_reqSearch(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -102,6 +102,15 @@ namespace ETS_WS.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::ETS_WS.WebUserControls.mod_textAutocomplete tacOggetto;
|
||||
|
||||
/// <summary>
|
||||
/// btnUpdate control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnUpdate;
|
||||
|
||||
/// <summary>
|
||||
/// LabelblPageSize control.
|
||||
/// </summary>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -427,7 +427,7 @@ SELECT idxFile, Nome, fullPath, userId, NrProtocollo, Numero, Anno, DataRic, Dat
|
||||
<xs:element name="DS_WebScip" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_WebScip" msprop:Generator_UserDSName="DS_WebScip">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:element name="tmpFileUt" msprop:Generator_TableClassName="tmpFileUtDataTable" msprop:Generator_TableVarName="tabletmpFileUt" msprop:Generator_RowChangedName="tmpFileUtRowChanged" msprop:Generator_TablePropName="tmpFileUt" msprop:Generator_RowDeletingName="tmpFileUtRowDeleting" msprop:Generator_RowChangingName="tmpFileUtRowChanging" msprop:Generator_RowEvHandlerName="tmpFileUtRowChangeEventHandler" msprop:Generator_RowDeletedName="tmpFileUtRowDeleted" msprop:Generator_RowClassName="tmpFileUtRow" msprop:Generator_UserTableName="tmpFileUt" msprop:Generator_RowEvArgName="tmpFileUtRowChangeEvent">
|
||||
<xs:element name="tmpFileUt" msprop:Generator_TableClassName="tmpFileUtDataTable" msprop:Generator_TableVarName="tabletmpFileUt" msprop:Generator_TablePropName="tmpFileUt" msprop:Generator_RowDeletingName="tmpFileUtRowDeleting" msprop:Generator_RowChangingName="tmpFileUtRowChanging" msprop:Generator_RowEvHandlerName="tmpFileUtRowChangeEventHandler" msprop:Generator_RowDeletedName="tmpFileUtRowDeleted" msprop:Generator_UserTableName="tmpFileUt" msprop:Generator_RowChangedName="tmpFileUtRowChanged" msprop:Generator_RowEvArgName="tmpFileUtRowChangeEvent" msprop:Generator_RowClassName="tmpFileUtRow">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxFile" msprop:Generator_ColumnVarNameInTable="columnidxFile" msprop:Generator_ColumnPropNameInRow="idxFile" msprop:Generator_ColumnPropNameInTable="idxFileColumn" msprop:Generator_UserColumnName="idxFile" type="xs:int" />
|
||||
@@ -499,7 +499,7 @@ SELECT idxFile, Nome, fullPath, userId, NrProtocollo, Numero, Anno, DataRic, Dat
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="tbDocumenti" msprop:Generator_TableClassName="tbDocumentiDataTable" msprop:Generator_TableVarName="tabletbDocumenti" msprop:Generator_TablePropName="tbDocumenti" msprop:Generator_RowDeletingName="tbDocumentiRowDeleting" msprop:Generator_RowChangingName="tbDocumentiRowChanging" msprop:Generator_RowEvHandlerName="tbDocumentiRowChangeEventHandler" msprop:Generator_RowDeletedName="tbDocumentiRowDeleted" msprop:Generator_UserTableName="tbDocumenti" msprop:Generator_RowChangedName="tbDocumentiRowChanged" msprop:Generator_RowEvArgName="tbDocumentiRowChangeEvent" msprop:Generator_RowClassName="tbDocumentiRow">
|
||||
<xs:element name="tbDocumenti" msprop:Generator_TableClassName="tbDocumentiDataTable" msprop:Generator_TableVarName="tabletbDocumenti" msprop:Generator_RowChangedName="tbDocumentiRowChanged" msprop:Generator_TablePropName="tbDocumenti" msprop:Generator_RowDeletingName="tbDocumentiRowDeleting" msprop:Generator_RowChangingName="tbDocumentiRowChanging" msprop:Generator_RowEvHandlerName="tbDocumentiRowChangeEventHandler" msprop:Generator_RowDeletedName="tbDocumentiRowDeleted" msprop:Generator_RowClassName="tbDocumentiRow" msprop:Generator_UserTableName="tbDocumenti" msprop:Generator_RowEvArgName="tbDocumentiRowChangeEvent">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxFile" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnidxFile" msprop:Generator_ColumnPropNameInRow="idxFile" msprop:Generator_ColumnPropNameInTable="idxFileColumn" msprop:Generator_UserColumnName="idxFile" type="xs:int" />
|
||||
|
||||
+13
-1
@@ -1 +1,13 @@
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--<autogenerated>
|
||||
This code was generated by a tool to store the dataset designer's layout information.
|
||||
Changes to this file may cause incorrect behavior and will be lost if
|
||||
the code is regenerated.
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:tmpFileUt" ZOrder="2" X="70" Y="70" Height="305" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
<Shape ID="DesignTable:tbDocumenti" ZOrder="1" X="342" Y="70" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
Binary file not shown.
@@ -8,3 +8,12 @@ C:\Users\samuele\Documents\Visual Studio 2010\Projects\ETS_Data\bin\Release\ETS_
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\ETS_Data\bin\Release\ETS_Data.pdb
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\ETS_Data\obj\Release\ETS_Data.dll
|
||||
C:\Users\samuele\Documents\Visual Studio 2010\Projects\ETS_Data\obj\Release\ETS_Data.pdb
|
||||
C:\Users\samuele\GIT\ETS\ETS_Data\bin\Release\NLog.config
|
||||
C:\Users\samuele\GIT\ETS\ETS_Data\bin\Release\ETS_Data.dll.config
|
||||
C:\Users\samuele\GIT\ETS\ETS_Data\bin\Release\ETS_Data.dll
|
||||
C:\Users\samuele\GIT\ETS\ETS_Data\bin\Release\ETS_Data.pdb
|
||||
C:\Users\samuele\GIT\ETS\ETS_Data\bin\Release\NLog.dll
|
||||
C:\Users\samuele\GIT\ETS\ETS_Data\bin\Release\NLog.xml
|
||||
C:\Users\samuele\GIT\ETS\ETS_Data\obj\Release\ETS_Data.csprojResolveAssemblyReference.cache
|
||||
C:\Users\samuele\GIT\ETS\ETS_Data\obj\Release\ETS_Data.dll
|
||||
C:\Users\samuele\GIT\ETS\ETS_Data\obj\Release\ETS_Data.pdb
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user