link anche a scheda pianificazione...
This commit is contained in:
Binary file not shown.
@@ -37,7 +37,10 @@
|
||||
<asp:BoundField DataField="Note" HeaderText="Note" SortExpression="Note" />
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbSelect" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="select" Text="Interv." ToolTip="Mostra consegne cliente" CssClass="ui-btn ui-mini ui-btn-icon-right ui-shadow ui-corner-all ui-icon-search" />
|
||||
<div class="ui-nodisc-icon ui-alt-icon" style="white-space: nowrap;">
|
||||
<asp:LinkButton ID="lbSelect" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="select" Text="list" ToolTip="Mostra consegne cliente" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-search ui-btn-icon-notext ui-btn-inline" />
|
||||
<asp:LinkButton ID="lbAdd" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="add" Text="add" ToolTip="Mostra consegne cliente" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-plus ui-btn-icon-notext ui-btn-inline" />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
|
||||
@@ -48,8 +48,6 @@ namespace WebSCR.WebUserControls
|
||||
memLayer.ML.setSessionVal("CodCliente", CodCliente);
|
||||
DS_Applicazione.AnagClientiRow riga = DtProxy.man.taAC.getByKey(CodCliente)[0];
|
||||
memLayer.ML.setSessionVal("Cliente", string.Format("{0} {1} ({2:dd/MM/yyyy})", riga.Cognome, riga.Nome, riga.CodFis));
|
||||
// mando a dettaglio con filtro x cliente!
|
||||
Response.Redirect(string.Format("Interventi?FiltroCliente=1&ShowState=0&CodCliente={0}", grView.SelectedDataKey["CodCliente"]));
|
||||
|
||||
}
|
||||
catch(Exception exc)
|
||||
@@ -57,14 +55,16 @@ namespace WebSCR.WebUserControls
|
||||
logger.lg.scriviLog(string.Format("Errore in rimando clienti --> interventi: {0}{1}", Environment.NewLine, exc));
|
||||
}
|
||||
|
||||
// no edit!!!
|
||||
#if false
|
||||
if (lastCmd == "edit")
|
||||
if (lastCmd == "add")
|
||||
{
|
||||
// richiamo pagina con edit del record richiesto
|
||||
Response.Redirect(string.Format("ClientiEdit?CodCliente={0}", grView.SelectedDataKey["CodCliente"]));
|
||||
}
|
||||
#endif
|
||||
// mando a AGGIUNTA intervento cliente!
|
||||
Response.Redirect(string.Format("Pianificazione?CodCliente={0}", grView.SelectedDataKey["CodCliente"]));
|
||||
}
|
||||
else
|
||||
{
|
||||
// mando a dettaglio con filtro x cliente!
|
||||
Response.Redirect(string.Format("Interventi?FiltroCliente=1&ShowState=0&CodCliente={0}", grView.SelectedDataKey["CodCliente"]));
|
||||
}
|
||||
}
|
||||
|
||||
protected void grView_RowCommand(object sender, GridViewCommandEventArgs e)
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace WebSCR.WebUserControls
|
||||
{
|
||||
string answ = "";
|
||||
string nome = nomeElem.ToString();
|
||||
if (Request.Url.ToString().Contains(nome)) answ = "ui-btn-active";
|
||||
if (Request.Url.ToString().ToLower().Contains(nome.ToLower())) answ = "ui-btn-active";
|
||||
// se E' Dettaglio e non c'è cod Impegno metto disabled...
|
||||
if (nome.Contains("Dettaglio"))
|
||||
{
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -79,3 +79,48 @@ System.Threading.ThreadAbortException: Thread interrotto.
|
||||
in System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
|
||||
in System.Web.HttpResponse.Redirect(String url)
|
||||
in WebSCR.WebUserControls.mod_elencoClienti.grView_SelectedIndexChanged(Object sender, EventArgs e) in c:\Users\samuele\Documents\Visual Studio 2012\Projects\WebSCR\WebSCR\WebUserControls\mod_elencoClienti.ascx.cs:riga 52
|
||||
16:17:03 5320 Errore in rimando clienti --> interventi:
|
||||
System.Threading.ThreadAbortException: Thread interrotto.
|
||||
in System.Threading.Thread.AbortInternal()
|
||||
in System.Threading.Thread.Abort(Object stateInfo)
|
||||
in System.Web.HttpResponse.AbortCurrentThread()
|
||||
in System.Web.HttpResponse.End()
|
||||
in System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
|
||||
in System.Web.HttpResponse.Redirect(String url)
|
||||
in WebSCR.WebUserControls.mod_elencoClienti.grView_SelectedIndexChanged(Object sender, EventArgs e) in c:\Users\samuele\Documents\Visual Studio 2012\Projects\WebSCR\WebSCR\WebUserControls\mod_elencoClienti.ascx.cs:riga 52
|
||||
16:17:09 3534 Errore in rimando clienti --> interventi:
|
||||
System.Threading.ThreadAbortException: Thread interrotto.
|
||||
in System.Threading.Thread.AbortInternal()
|
||||
in System.Threading.Thread.Abort(Object stateInfo)
|
||||
in System.Web.HttpResponse.AbortCurrentThread()
|
||||
in System.Web.HttpResponse.End()
|
||||
in System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
|
||||
in System.Web.HttpResponse.Redirect(String url)
|
||||
in WebSCR.WebUserControls.mod_elencoClienti.grView_SelectedIndexChanged(Object sender, EventArgs e) in c:\Users\samuele\Documents\Visual Studio 2012\Projects\WebSCR\WebSCR\WebUserControls\mod_elencoClienti.ascx.cs:riga 52
|
||||
16:17:21 1752 Errore in rimando clienti --> interventi:
|
||||
System.Threading.ThreadAbortException: Thread interrotto.
|
||||
in System.Threading.Thread.AbortInternal()
|
||||
in System.Threading.Thread.Abort(Object stateInfo)
|
||||
in System.Web.HttpResponse.AbortCurrentThread()
|
||||
in System.Web.HttpResponse.End()
|
||||
in System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
|
||||
in System.Web.HttpResponse.Redirect(String url)
|
||||
in WebSCR.WebUserControls.mod_elencoClienti.grView_SelectedIndexChanged(Object sender, EventArgs e) in c:\Users\samuele\Documents\Visual Studio 2012\Projects\WebSCR\WebSCR\WebUserControls\mod_elencoClienti.ascx.cs:riga 52
|
||||
16:23:56 7457 Errore in rimando clienti --> interventi:
|
||||
System.Threading.ThreadAbortException: Thread interrotto.
|
||||
in System.Threading.Thread.AbortInternal()
|
||||
in System.Threading.Thread.Abort(Object stateInfo)
|
||||
in System.Web.HttpResponse.AbortCurrentThread()
|
||||
in System.Web.HttpResponse.End()
|
||||
in System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
|
||||
in System.Web.HttpResponse.Redirect(String url)
|
||||
in WebSCR.WebUserControls.mod_elencoClienti.grView_SelectedIndexChanged(Object sender, EventArgs e) in c:\Users\samuele\Documents\Visual Studio 2012\Projects\WebSCR\WebSCR\WebUserControls\mod_elencoClienti.ascx.cs:riga 52
|
||||
16:23:59 6829 Errore in rimando clienti --> interventi:
|
||||
System.Threading.ThreadAbortException: Thread interrotto.
|
||||
in System.Threading.Thread.AbortInternal()
|
||||
in System.Threading.Thread.Abort(Object stateInfo)
|
||||
in System.Web.HttpResponse.AbortCurrentThread()
|
||||
in System.Web.HttpResponse.End()
|
||||
in System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent)
|
||||
in System.Web.HttpResponse.Redirect(String url)
|
||||
in WebSCR.WebUserControls.mod_elencoClienti.grView_SelectedIndexChanged(Object sender, EventArgs e) in c:\Users\samuele\Documents\Visual Studio 2012\Projects\WebSCR\WebSCR\WebUserControls\mod_elencoClienti.ascx.cs:riga 52
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user