- Cambiata immagine selezione (print_*)

- Inserito modulo dettaglio richiesta x review ed editing

git-svn-id: https://keyhammer.ath.cx/svn/WebGIM/trunk@34 3e04ef4b-3b25-4b6c-be27-bb5389ca777b
This commit is contained in:
samuele
2009-01-23 07:33:31 +00:00
parent 22c9acb675
commit c390cc0d58
8 changed files with 43 additions and 7 deletions
+7 -5
View File
@@ -1,8 +1,10 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxSearch.master" AutoEventWireup="true" CodeFile="elencoRichieste.aspx.cs" Inherits="elencoRichieste" %>
<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxSearch.master" AutoEventWireup="true"
CodeFile="elencoRichieste.aspx.cs" Inherits="elencoRichieste" %>
<%@ Register src="mod_elencoRichieste.ascx" tagname="mod_elencoRichieste" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<%@ Register Src="mod_elencoRichieste.ascx" TagName="mod_elencoRichieste" TagPrefix="uc1" %>
<%@ Register Src="mod_dettaglioIntervento.ascx" TagName="mod_dettaglioIntervento"
TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<uc1:mod_elencoRichieste ID="mod_elencoRichieste1" runat="server" />
<uc2:mod_dettaglioIntervento ID="mod_dettaglioIntervento1" runat="server" Visible="false" />
</asp:Content>
+20 -1
View File
@@ -8,6 +8,25 @@ public partial class elencoRichieste : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
mod_elencoRichieste1.eh_selValore += new EventHandler(mod_elencoRichieste1_eh_selValore);
mod_elencoRichieste1.eh_resetSelezione += new EventHandler(mod_elencoRichieste1_eh_resetSelezione);
}
/// <summary>
/// resetto selezione, nascondo dettaglio
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void mod_elencoRichieste1_eh_resetSelezione(object sender, EventArgs e)
{
mod_dettaglioIntervento1.Visible = false;
}
/// <summary>
/// selezione effettuata, mostro dettaglio
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void mod_elencoRichieste1_eh_selValore(object sender, EventArgs e)
{
mod_dettaglioIntervento1.Visible = true;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 874 B

@@ -0,0 +1,2 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="mod_dettaglioIntervento.ascx.cs" Inherits="mod_dettaglioIntervento" %>
aaa
@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class mod_dettaglioIntervento : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
+1 -1
View File
@@ -73,7 +73,7 @@
</asp:TemplateField>
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:ImageButton runat="server" ID="btnPrendeInCarico" ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma , SteamWare.dimImg.small) %>' CommandArgument='<%# Eval("numIntMtz")%>' ToolTip='<%# traduci("prendeInCaricoRichiesta") %>' OnClick="btnPrendeInCarico_Click" Visible='<%# isPrInCarEnabl(Eval("numIntMtz")) %>' />
<asp:ImageButton runat="server" ID="btnPrendeInCarico" ImageUrl='<%# imgPath(SteamWare.tipoImg.stampa , SteamWare.dimImg.small) %>' CommandArgument='<%# Eval("numIntMtz")%>' ToolTip='<%# traduci("prendeInCaricoRichiesta") %>' OnClick="btnPrendeInCarico_Click" Visible='<%# isPrInCarEnabl(Eval("numIntMtz")) %>' />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
</asp:TemplateField>