inserito evento selezione data
This commit is contained in:
+2
-2
@@ -5,7 +5,7 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("0.2.012.27")]
|
||||
[assembly: AssemblyFileVersion("0.2.012.27")]
|
||||
[assembly: AssemblyVersion("0.2.013.28")]
|
||||
[assembly: AssemblyFileVersion("0.2.013.28")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2015-2015")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@
|
||||
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("0.2.012.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("0.2.012.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyVersion("0.2.013.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyFileVersion("0.2.013.<#= this.RevisionNumber #>")]
|
||||
[assembly: AssemblyCopyright("Steamware © 2015-<#= DateTime.Now.Year #>")]
|
||||
[assembly: AssemblyCompany("Steamware")]
|
||||
<#+
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -47,7 +47,7 @@
|
||||
<div class="ui-grid-d">
|
||||
<asp:Repeater ID="repSlot" runat="server" DataSourceID="odsSlot">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbSelect" CommandArgument='<%# Eval("Data") %>'>
|
||||
<asp:LinkButton runat="server" ID="lbSelect" CommandArgument='<%# Eval("Data") %>' OnClick="lbSelect_Click">
|
||||
<div class='<%# frameFromDispZona(Eval("ScoreDisp"), Eval("ScoreZona")) %>' style="float: left; margin: 2px; padding: 4px; height: 48px; width: 72px;">
|
||||
<div style="text-align: center; margin: auto; font-size: 0.8em; border-bottom: 1px solid gray; color: #666666;">
|
||||
<%#Eval("Data","{0:ddd dd/MM/yy}") %>
|
||||
|
||||
@@ -10,6 +10,22 @@ namespace WebSCR.WebUserControls
|
||||
{
|
||||
public partial class mod_selettoreSlot : System.Web.UI.UserControl
|
||||
{
|
||||
public event EventHandler eh_selData;
|
||||
/// <summary>
|
||||
/// solleva evento selezione data
|
||||
/// </summary>
|
||||
protected void reportEvent()
|
||||
{
|
||||
// evento!
|
||||
if (eh_selData != null)
|
||||
{
|
||||
eh_selData(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// data selezionata
|
||||
/// </summary>
|
||||
public DateTime dataSel {get; set;}
|
||||
/// <summary>
|
||||
/// numero giorni selezionati
|
||||
/// </summary>
|
||||
@@ -129,5 +145,15 @@ namespace WebSCR.WebUserControls
|
||||
answ += " ui-shadow ui-corner-all";
|
||||
return answ;
|
||||
}
|
||||
/// <summary>
|
||||
/// evento selezione data
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbSelect_Click(object sender, EventArgs e)
|
||||
{
|
||||
LinkButton lb = (LinkButton)sender;
|
||||
dataSel = Convert.ToDateTime(lb.CommandArgument);
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
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