completate modifiche vers 178 x NON mostrare (a scelta) dettaglio selezione x spostamenti non permessi in sposta fasi

This commit is contained in:
Samuele Locatelli
2013-08-26 18:19:17 +02:00
parent 63d1cac1fd
commit 310a7190e3
6 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
</div>
<div class="divSx" style="width: 600px;">
<div style="height: 46px;"></div>
<uc2:mod_commesse ID="mod_commesse1" runat="server" Visible="false" enableNewFromEmpty="true" showSelect="false" showEdit="true" />
<uc2:mod_commesse ID="mod_commesse1" runat="server" Visible="false" enableNew="true" enableNewFromEmpty="true" showSelect="false" showSelectSub="false" enableJump="true" showEdit="true" />
<div style="text-align: center; margin: auto;">
<asp:Button runat="server" ID="btnSposta" Text="Sposta/Clona Commesse e fasi" Visible="false" CssClass="btnMoveBig ui-corner-all" ToolTip="Spostamento Commesse e Fasi" OnClick="btnSposta_Click" />
</div>
@@ -25,7 +25,7 @@
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="false">
<ItemTemplate>
<div class="divSx">
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select" ToolTip="Seleziona" ImageUrl="../images/view_m.png" Visible='<%# showSelect %>' />
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select" ToolTip="Seleziona" ImageUrl="../images/view_m.png" Visible='<%# (isAncestor(Eval("idxFaseAncest")) && showSelect) || (!isAncestor(Eval("idxFaseAncest")) && showSelectSub)%>' />
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit" ToolTip="Modifica" ImageUrl="../images/edit_m.png" Visible='<%# isWritable() && showEdit %>' />
</div>
<div class="divDx">
@@ -696,6 +696,10 @@ namespace PROJ_ETS.WebUserControls
/// </summary>
public bool showSelect { get; set; }
/// <summary>
/// determina se mostrare lente di selezione in righe tabella x oggetti "sub" (fasi)
/// </summary>
public bool showSelectSub { get; set; }
/// <summary>
/// determina se mostrare edit in righe tabella
/// </summary>
public bool showEdit { get; set; }
@@ -28,7 +28,7 @@
</asp:ObjectDataSource>
</div>
</div>
<uc1:mod_commesse ID="fasiFrom" runat="server" enableShowRA="true" enableNew="false" enableNewFromEmpty="false" enableJump="false" showSelect="true" showEdit="false" />
<uc1:mod_commesse ID="fasiFrom" runat="server" enableShowRA="true" enableNew="false" enableNewFromEmpty="false" enableJump="false" showSelect="true" showSelectSub="true" showEdit="false" />
</div>
<div class="divDx gradVerde ui-corner-all shadowBox" style="min-width: 400px; width: 48%; padding: 8px;">
<h2>Destinazione</h2>
@@ -47,7 +47,7 @@
</asp:ObjectDataSource>
</div>
</div>
<uc1:mod_commesse ID="fasiTo" runat="server" enableShowRA="false" enableNew="true" enableNewFromEmpty="false" enableJump="false" showSelect="true" showEdit="false" />
<uc1:mod_commesse ID="fasiTo" runat="server" enableShowRA="false" enableNew="true" enableNewFromEmpty="false" enableJump="false" showSelect="true" showSelectSub="false" showEdit="false" />
</div>
</div>
</div>
Binary file not shown.
Binary file not shown.