Aggiunto su tab il path (calcolato) per i documenti
This commit is contained in:
Binary file not shown.
@@ -27,8 +27,8 @@
|
||||
<add key="welcomeApp" value="ETS-WS_welcomeApp" />
|
||||
<add key="appName" value="ETS-WS" />
|
||||
<add key="SiteName" value="ETS" />
|
||||
<add key="mainRev" value="0.2" />
|
||||
<add key="minRev" value="30" />
|
||||
<add key="mainRev" value="0.3" />
|
||||
<add key="minRev" value="40" />
|
||||
<add key="copyRight" value="SteamWare, ETS © 2012" />
|
||||
<add key="tempUplDir" value="~/TempUploads" />
|
||||
<add key="archiveDir" value="~/ArchivioDocs" />
|
||||
|
||||
@@ -51,15 +51,15 @@
|
||||
textEmWidht="15" Visible="false" />
|
||||
</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">
|
||||
<asp:Label runat="server" ID="LabelblPageSize" Text="Risultati per pagina" CssClass="labelInput" /><br />
|
||||
<asp:DropDownList ID="ddlPageSize" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
|
||||
<asp:ListItem Text="10" Value="10" />
|
||||
<asp:ListItem Text="15" Value="15" />
|
||||
<asp:ListItem Text="20" Value="20" Selected="True" />
|
||||
<asp:ListItem Text="20" Value="20" />
|
||||
<asp:ListItem Text="30" Value="30" />
|
||||
<asp:ListItem Text="50" Value="50" />
|
||||
</asp:DropDownList>
|
||||
/ <asp:Label runat="server" ID="lblTotRec" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -25,10 +25,7 @@ namespace ETS_WS.WebUserControls
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
updateVisual();
|
||||
}
|
||||
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);
|
||||
@@ -49,6 +46,7 @@ namespace ETS_WS.WebUserControls
|
||||
{
|
||||
utils.obj.emptySessionVal("srcOggetto");
|
||||
}
|
||||
updateVisual();
|
||||
}
|
||||
/// <summary>
|
||||
/// salvo ricerca fonte
|
||||
@@ -65,6 +63,7 @@ namespace ETS_WS.WebUserControls
|
||||
{
|
||||
utils.obj.emptySessionVal("srcFonte");
|
||||
}
|
||||
updateVisual();
|
||||
}
|
||||
/// <summary>
|
||||
/// salvo ricerca fase
|
||||
@@ -81,6 +80,7 @@ namespace ETS_WS.WebUserControls
|
||||
{
|
||||
utils.obj.emptySessionVal("srcFase");
|
||||
}
|
||||
updateVisual();
|
||||
}
|
||||
/// <summary>
|
||||
/// salvo ricerca commessa
|
||||
@@ -97,27 +97,18 @@ namespace ETS_WS.WebUserControls
|
||||
{
|
||||
utils.obj.emptySessionVal("srcCommessa");
|
||||
}
|
||||
updateVisual();
|
||||
}
|
||||
/// <summary>
|
||||
/// aggiorna tutti i valori visualizzati
|
||||
/// </summary>
|
||||
private void updateVisual()
|
||||
{
|
||||
//// verifico attivazione button submin (ovvero ci sono tutti i valori...)
|
||||
//btnSubmit.Visible = (tacCommesse.valore != "" && tacFasi.valore != "" && tacFonti.label != "" && txtOggetto.Text != "");
|
||||
// aggiorno label num records
|
||||
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();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void txtOggetto_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
updateVisual();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// salvo la ricerca libera...
|
||||
/// </summary>
|
||||
@@ -127,6 +118,7 @@ namespace ETS_WS.WebUserControls
|
||||
{
|
||||
// salvo valore selezionato
|
||||
utils.obj.setSessionVal("srcSearchAll", txtSearchAll.Text.Trim());
|
||||
updateVisual();
|
||||
}
|
||||
/// <summary>
|
||||
/// imposto visibilità campo ricerca da selezione check
|
||||
@@ -147,6 +139,7 @@ namespace ETS_WS.WebUserControls
|
||||
utils.obj.emptySessionVal("srcCommessa");
|
||||
}
|
||||
tacCommesse.Visible = chkCommessa.Checked;
|
||||
updateVisual();
|
||||
}
|
||||
/// <summary>
|
||||
/// imposto visibilità campo ricerca da selezione check
|
||||
@@ -167,6 +160,7 @@ namespace ETS_WS.WebUserControls
|
||||
utils.obj.emptySessionVal("srcFase");
|
||||
}
|
||||
tacFasi.Visible = chkFase.Checked;
|
||||
updateVisual();
|
||||
}
|
||||
/// <summary>
|
||||
/// imposto visibilità campo ricerca da selezione check
|
||||
@@ -187,6 +181,7 @@ namespace ETS_WS.WebUserControls
|
||||
utils.obj.emptySessionVal("srcFonte");
|
||||
}
|
||||
tacFonti.Visible = chkFonte.Checked;
|
||||
updateVisual();
|
||||
}
|
||||
/// <summary>
|
||||
/// imposto visibilità campo ricerca da selezione check
|
||||
@@ -207,8 +202,13 @@ namespace ETS_WS.WebUserControls
|
||||
utils.obj.emptySessionVal("srcOggetto");
|
||||
}
|
||||
tacOggetto.Visible = chkOggetto.Checked;
|
||||
updateVisual();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// selezionata nuova dim pagina
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
utils.obj.setSessionVal("srcPageSize", ddlPageSize.SelectedValue);
|
||||
@@ -217,5 +217,6 @@ namespace ETS_WS.WebUserControls
|
||||
eh_pageResize(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -119,5 +119,14 @@ namespace ETS_WS.WebUserControls {
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlPageSize;
|
||||
|
||||
/// <summary>
|
||||
/// lblTotRec 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.Label lblTotRec;
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user