diff --git a/CMS-SC-Data/bin/Debug/CMS-SC-Data.dll b/CMS-SC-Data/bin/Debug/CMS-SC-Data.dll index 9e1453f..3df5fe3 100644 Binary files a/CMS-SC-Data/bin/Debug/CMS-SC-Data.dll and b/CMS-SC-Data/bin/Debug/CMS-SC-Data.dll differ diff --git a/CMS-SC-Data/bin/Debug/SteamWare.dll b/CMS-SC-Data/bin/Debug/SteamWare.dll index c25bdfe..0ca9824 100644 Binary files a/CMS-SC-Data/bin/Debug/SteamWare.dll and b/CMS-SC-Data/bin/Debug/SteamWare.dll differ diff --git a/CMS-SC-Data/obj/Debug/CMS-SC-Data.dll b/CMS-SC-Data/obj/Debug/CMS-SC-Data.dll index 9e1453f..3df5fe3 100644 Binary files a/CMS-SC-Data/obj/Debug/CMS-SC-Data.dll and b/CMS-SC-Data/obj/Debug/CMS-SC-Data.dll differ diff --git a/CMS_SC/AnagFamMacchine.aspx b/CMS_SC/AnagFamMacchine.aspx index 652763c..6d693e5 100644 --- a/CMS_SC/AnagFamMacchine.aspx +++ b/CMS_SC/AnagFamMacchine.aspx @@ -1,4 +1,4 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/Bootstrap.Master" AutoEventWireup="true" CodeBehind="AnagFamMacchine.aspx.cs" Inherits="CMS_SC.AnagFamMacchine" %> +<%@ Page Title="" Language="C#" MasterPageFile="~/Bootstrap.Master" AutoEventWireup="true" CodeBehind="AnagFamMacchine.aspx.cs" Inherits="CMS_SC.AnagFamMacchine" EnableEventValidation = "false" %> <%@ Register Src="~/WebUserControls/mod_AnagFamMacc.ascx" TagName="mod_AnagFamMacc" TagPrefix="uc1" %> <%@ Register Src="~/WebUserControls/mod_righePag.ascx" TagPrefix="uc1" TagName="mod_righePag" %> diff --git a/CMS_SC/WebUserControls/mod_AnagFamMacc.ascx b/CMS_SC/WebUserControls/mod_AnagFamMacc.ascx index 32a49c6..38fc7a7 100644 --- a/CMS_SC/WebUserControls/mod_AnagFamMacc.ascx +++ b/CMS_SC/WebUserControls/mod_AnagFamMacc.ascx @@ -1,5 +1,5 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_AnagFamMacc.ascx.cs" Inherits="CMS_SC.WebUserControls.mod_AnagFamMacc" %> - + diff --git a/CMS_SC/WebUserControls/mod_AnagFamMacc.ascx.cs b/CMS_SC/WebUserControls/mod_AnagFamMacc.ascx.cs index 64c8fa4..a99ad6f 100644 --- a/CMS_SC/WebUserControls/mod_AnagFamMacc.ascx.cs +++ b/CMS_SC/WebUserControls/mod_AnagFamMacc.ascx.cs @@ -42,5 +42,26 @@ namespace CMS_SC.WebUserControls // update! grView.DataBind(); } + + protected void grView_RowDataBound(object sender, GridViewRowEventArgs e) + { + if (e.Row.RowType == DataControlRowType.DataRow) + { + // single click --> edit + e.Row.Attributes["ondblclick"] = Page.ClientScript.GetPostBackClientHyperlink(grView, "Edit$" + e.Row.RowIndex); + e.Row.Attributes["style"] = "cursor:pointer"; + // single click --> select + e.Row.Attributes["onclick"] = Page.ClientScript.GetPostBackClientHyperlink(grView, "Select$" + e.Row.RowIndex); + e.Row.Attributes["style"] = "cursor:pointer"; + } + } + + protected void grView_RowEditing(object sender, GridViewEditEventArgs e) + { + + grView.EditIndex = e.NewEditIndex; + this.DataBind(); + //grView.Columns[2].Visible = true; + } } } \ No newline at end of file diff --git a/CMS_SC/bin/CMS-SC-Data.dll b/CMS_SC/bin/CMS-SC-Data.dll index 9e1453f..3df5fe3 100644 Binary files a/CMS_SC/bin/CMS-SC-Data.dll and b/CMS_SC/bin/CMS-SC-Data.dll differ diff --git a/CMS_SC/bin/CMS_SC.dll b/CMS_SC/bin/CMS_SC.dll index 10f7b77..2f1cd45 100644 Binary files a/CMS_SC/bin/CMS_SC.dll and b/CMS_SC/bin/CMS_SC.dll differ diff --git a/CMS_SC/bin/SteamWare.dll b/CMS_SC/bin/SteamWare.dll index c25bdfe..0ca9824 100644 Binary files a/CMS_SC/bin/SteamWare.dll and b/CMS_SC/bin/SteamWare.dll differ diff --git a/VersGen/CMS_SC.cs b/VersGen/CMS_SC.cs index 65afa21..a0b313d 100644 --- a/VersGen/CMS_SC.cs +++ b/VersGen/CMS_SC.cs @@ -5,7 +5,7 @@ using System.Reflection; -[assembly: AssemblyVersion("1.8.082.354")] -[assembly: AssemblyFileVersion("1.8.082.354")] +[assembly: AssemblyVersion("1.8.083.354")] +[assembly: AssemblyFileVersion("1.8.083.354")] [assembly: AssemblyCopyright("Steamware © 2009-2015")] [assembly: AssemblyCompany("Steamware")] diff --git a/VersGen/CMS_SC.tt b/VersGen/CMS_SC.tt index 477fef2..a84a669 100644 --- a/VersGen/CMS_SC.tt +++ b/VersGen/CMS_SC.tt @@ -6,8 +6,8 @@ using System.Reflection; -[assembly: AssemblyVersion("1.8.082.<#= this.RevisionNumber #>")] -[assembly: AssemblyFileVersion("1.8.082.<#= this.RevisionNumber #>")] +[assembly: AssemblyVersion("1.8.083.<#= this.RevisionNumber #>")] +[assembly: AssemblyFileVersion("1.8.083.<#= this.RevisionNumber #>")] [assembly: AssemblyCopyright("Steamware © 2009-<#= DateTime.Now.Year #>")] [assembly: AssemblyCompany("Steamware")] <#+ diff --git a/VersGen/bin/Debug/VersGen.dll b/VersGen/bin/Debug/VersGen.dll index 8750a8a..802b730 100644 Binary files a/VersGen/bin/Debug/VersGen.dll and b/VersGen/bin/Debug/VersGen.dll differ