update con ricerca UDC abilitata x like
inseriti segnaposto x pulsanti operazioni consentite x singolo UDC trovato git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@65 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
@@ -1,2 +1,25 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_execUDC.ascx.cs" Inherits="GMW.WebUserControls.mod_execUDC" %>
|
||||
modulo operazioni consentite su UDC
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_execUDC.ascx.cs"
|
||||
Inherits="GMW.WebUserControls.mod_execUDC" %>
|
||||
modulo operazioni consentite su UDC
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Button ID="Button1" runat="server" Text="uno" Width="100px" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Button ID="Button2" runat="server" Text="due" Width="100px" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Button ID="Button3" runat="server" Text="tre" Width="100px" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Button ID="Button4" runat="server" Text="quattro" Width="100px" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -12,5 +12,41 @@ namespace GMW.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_execUDC {
|
||||
|
||||
/// <summary>
|
||||
/// Button1 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 Button1;
|
||||
|
||||
/// <summary>
|
||||
/// Button2 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 Button2;
|
||||
|
||||
/// <summary>
|
||||
/// Button3 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 Button3;
|
||||
|
||||
/// <summary>
|
||||
/// Button4 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 Button4;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -57,6 +57,7 @@ namespace GMW.WebUserControls
|
||||
|
||||
private void doSearch()
|
||||
{
|
||||
// !!! RI FARE!!! - se è tipo like NON HA senso distinguere nel tipo di ricerca, attiva tutti i "search provider"
|
||||
string testoCercato = txtSearch.Text.Trim();
|
||||
if (testoCercato != "")
|
||||
{
|
||||
|
||||
@@ -79,20 +79,6 @@ namespace GMW.WebUserControls
|
||||
eh_selValore(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// resetta la selezione dei valori in caso di modifiche su altri controlli
|
||||
/// </summary>
|
||||
public void resetSelezione()
|
||||
{
|
||||
SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView));
|
||||
grView.SelectedIndex = -1;
|
||||
//grView.DataBind();
|
||||
lblWarning.Visible = false;
|
||||
if (eh_resetSelezione != null)
|
||||
{
|
||||
eh_resetSelezione(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// collega i controlli
|
||||
@@ -123,7 +109,19 @@ namespace GMW.WebUserControls
|
||||
resetSelezione();
|
||||
checkFixOds();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// resetta la selezione dei valori in caso di modifiche su altri controlli
|
||||
/// </summary>
|
||||
public void resetSelezione()
|
||||
{
|
||||
SteamWare.memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView));
|
||||
grView.SelectedIndex = -1;
|
||||
lblWarning.Visible = false;
|
||||
if (eh_resetSelezione != null)
|
||||
{
|
||||
eh_resetSelezione(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user