Ok selezione fase x dettaglio dossier...
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -80,7 +80,26 @@ namespace CMS_SC
|
||||
|
||||
void mod_elencoDossiers_eh_selezioneValore(object sender, EventArgs e)
|
||||
{
|
||||
mod_StatoCollaudi.idxDossier = mod_elencoDossiers.idxDossier.ToString();
|
||||
// recupero idxDossier...
|
||||
int idxDossier = mod_elencoDossiers.idxDossier;
|
||||
// imposto fase
|
||||
string fase = "";
|
||||
try
|
||||
{
|
||||
fase = DtProxy.man.taED.getByDossier(idxDossier)[0].Stato;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
if(fase!="")
|
||||
{
|
||||
ddlFase.SelectedValue = fase;
|
||||
// salvo!
|
||||
savePar("ddlFase", fase);
|
||||
// fix visualizzazione
|
||||
mod_StatoCollaudi.Fase = fase;
|
||||
}
|
||||
// imposto idxDossier
|
||||
mod_StatoCollaudi.idxDossier = idxDossier.ToString();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -4,25 +4,21 @@
|
||||
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("NoRecords") %>' />
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<%--<asp:TemplateField ShowHeader="False" ItemStyle-Wrap="false">
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton ID="lbUpdate" runat="server" CausesValidation="True" CommandName="Update" ToolTip="Update" CssClass="fa fa-check fa-2x" />
|
||||
<asp:LinkButton ID="lbCancel" runat="server" CausesValidation="False" CommandName="Cancel" ToolTip="Cancel" CssClass="fa fa-undo fa-2x" />
|
||||
</EditItemTemplate>
|
||||
<asp:TemplateField ShowHeader="False" ItemStyle-Wrap="false">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbEdit" runat="server" CausesValidation="False" CommandName="Edit" ToolTip="Edit" CssClass="fa fa-edit fa-2x" Visible='<%# isWriteEnabled %>' />
|
||||
<asp:LinkButton ID="lbEdit" runat="server" CausesValidation="False" CommandName="Select" ToolTip="Select" CssClass="fa fa-search fa-2x" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>--%>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Stato" SortExpression="Stato">
|
||||
<ItemTemplate>
|
||||
<div class='<%# string.Format("row sc_{0}", Eval("Stato")) %>'>
|
||||
<div class="col-xs-2 sc">
|
||||
<asp:Label ID="lblDescrStato" runat="server" Text='<%# Bind("DescrStato") %>' />
|
||||
</div>
|
||||
<div class="col-xs-2">
|
||||
<div class="col-xs-1">
|
||||
<asp:Label ID="lblCodScheda" runat="server" Text='<%# string.Format("{0}.{1}.{2}", Eval("CodScheda"), Eval("Vers"), Eval("NumScheda")) %>' />
|
||||
</div>
|
||||
<div class="col-xs-8">
|
||||
<div class="col-xs-9">
|
||||
<asp:Label ID="lblDescrizione" runat="server" Text='<%# Eval("Descrizione") %>' />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -90,7 +90,8 @@ namespace CMS_SC.WebUserControls
|
||||
CodSchedaVersNum = string.Format("{0}.{1}.{2}", grView.SelectedDataKey["CodScheda"], grView.SelectedDataKey["Vers"], grView.SelectedDataKey["NumScheda"]);
|
||||
if (CodSchedaVersNum != "")
|
||||
{
|
||||
// mostro dettaglio....
|
||||
// salvo selezione...
|
||||
// rimando a dettaglio....
|
||||
}
|
||||
}
|
||||
protected void btnReset_Click(object sender, EventArgs e)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user