Aggiunta visualizzazione img tipo lista e tooltip

git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@124 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
samuele
2010-07-07 17:23:03 +00:00
parent 0d1345592a
commit 5a17007b06
18 changed files with 38 additions and 9 deletions
+6
View File
@@ -814,6 +814,9 @@
<Content Include="chLang.aspx" />
<Content Include="ElencoListePrelievo.aspx" />
<Content Include="forceUser.aspx" />
<Content Include="images\approva_l.png" />
<Content Include="images\approva_m.png" />
<Content Include="images\approva_s.png" />
<Content Include="images\circle_l_0.png" />
<Content Include="images\circle_l_1.png" />
<Content Include="images\circle_l_2.png" />
@@ -824,6 +827,9 @@
<Content Include="images\circle_s_2.png" />
<Content Include="images\circle_s_3.png" />
<Content Include="images\circle_s_4.png" />
<Content Include="images\lista_preFus_l.png" />
<Content Include="images\lista_PreFus_m.png" />
<Content Include="images\lista_PreFus_s.png" />
<Content Include="images\recycle_green_l.png" />
<Content Include="images\recycle_green_m.png" />
<Content Include="images\recycle_green_s.png" />
@@ -17,7 +17,7 @@
</asp:ObjectDataSource>
<asp:Button runat="server" ID="btnNewLista" OnClick="btnNewLista_Click" />
</div>
<div class="filtro_2" style="white-space: nowrap; padding: 2px;">
<div class="filtro_2\" style="white-space: nowrap; padding: 2px;">
<uc4:mod_nuovaListaPrelievo ID="mod_nuovaListaPrelievo1" runat="server" />
</div>
</td>
@@ -50,6 +50,12 @@
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="TipoLista" SortExpression="CodTipoLista" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Image runat="server" ID="imgCodTipoLista" ImageUrl='<%# pathImgTipo(Eval("CodTipoLista")) %>' ToolTip= '<%# tooltipTipo(Eval("CodTipoLista")) %>'/>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
<asp:TemplateField HeaderText="CodLista" SortExpression="CodLista">
<ItemTemplate>
<asp:Label ID="lblCodLista" runat="server" Text='<%# Eval("CodLista") %>' />
@@ -75,7 +81,6 @@
<asp:TemplateField HeaderText="Stato" SortExpression="CodStatoLista" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Image runat="server" ID="imgCodStatoLista" ImageUrl='<%# pathImgStato(Eval("CodStatoLista")) %>' />
<%--<asp:Label ID="lblCodStato" runat="server" Text='<%# Eval("CodStatoLista") %>' />--%>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>
@@ -589,7 +589,7 @@ namespace GMW.WebUserControls
aggiornaElencoRighe();
}
/// <summary>
/// restituisce URL immagine del codice da mostrare
/// restituisce URL immagine del codice da mostrare x stato lista
/// </summary>
/// <param name="codStato"></param>
/// <returns></returns>
@@ -598,6 +598,24 @@ namespace GMW.WebUserControls
return string.Format("~/images/circle_s_{0}.png", codStato);
}
/// <summary>
/// restituisce URL immagine del codice da mostrare x TIPO lista
/// </summary>
/// <param name="codStato"></param>
/// <returns></returns>
public string pathImgTipo(object codice)
{
return string.Format("~/images/lista_{0}_s.png", codice);
}
/// <summary>
/// restituisce tooltip da mostrare x TIPO lista
/// </summary>
/// <param name="codStato"></param>
/// <returns></returns>
public string tooltipTipo(object codice)
{
return traduci(codice.ToString());
}
/// <summary>
/// mostra controllo per creare nuove liste di prelievo
/// </summary>
/// <param name="sender"></param>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 772 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 728 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.
Binary file not shown.
+6 -6
View File
@@ -4,7 +4,7 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="58" ViewPortY="682" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="58" ViewPortY="404" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:ElencoCartellini" ZOrder="7" X="68" Y="333" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagMag" ZOrder="26" X="1014" Y="372" Height="190" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
@@ -16,13 +16,13 @@
<Shape ID="DesignTable:v_UdcDetail" ZOrder="15" X="693" Y="9" Height="326" Width="223" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
<Shape ID="DesignTable:AnagImballi" ZOrder="14" X="93" Y="43" Height="156" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:V_ParticolariOverview" ZOrder="13" X="95" Y="1131" Height="265" Width="272" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="138" />
<Shape ID="DesignTable:V_MagazziniOverview" ZOrder="4" X="704" Y="1109" Height="276" Width="232" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:V_MagazziniOverview" ZOrder="1" X="733" Y="1102" Height="286" Width="232" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:V_DettMagPart" ZOrder="12" X="993" Y="985" Height="326" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
<Shape ID="DesignTable:TipoListaPrelievo" ZOrder="9" X="697" Y="906" Height="156" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" />
<Shape ID="DesignTable:TipoListaPrelievo" ZOrder="9" X="697" Y="906" Height="181" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:RigheListePrelievo" ZOrder="11" X="83" Y="846" Height="257" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="130" />
<Shape ID="DesignTable:ElencoListePrelievo" ZOrder="3" X="393" Y="900" Height="343" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
<Shape ID="DesignTable:v_righeListePrelievoPosizione" ZOrder="2" X="406" Y="1283" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:v_particolariEsponenteFigura" ZOrder="1" X="828" Y="1437" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:ElencoListePrelievo" ZOrder="4" X="393" Y="900" Height="343" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
<Shape ID="DesignTable:v_righeListePrelievoPosizione" ZOrder="3" X="406" Y="1283" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
<Shape ID="DesignTable:v_particolariEsponenteFigura" ZOrder="2" X="828" Y="1437" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_ElencoCartellini" ZOrder="25" LineWidth="11">
Binary file not shown.
Binary file not shown.