test toggle jQuery

This commit is contained in:
Samuele Locatelli
2021-03-19 10:57:19 +01:00
parent fd97b5bfeb
commit b44b65a948
5 changed files with 89 additions and 21 deletions
+3 -4
View File
@@ -496,9 +496,11 @@
<Content Include="Content\themes\base\tabs.css" />
<Content Include="Content\themes\base\theme.css" />
<Content Include="Content\themes\base\tooltip.css" />
<Content Include="Core\Compression\Snappy\lib\win\snappy32.dll" />
<Content Include="Core\Compression\Snappy\lib\win\snappy64.dll" />
<Content Include="Core\Compression\Zstandard\lib\win\libzstd.dll" />
<Content Include="images\favicon.png" />
<Content Include="images\logo_sw.png" />
<Content Include="libzstd.dll" />
<Content Include="logs\PlaceHolder.file" />
<Content Include="GPW_Barcode.wpp.targets" />
<Content Include="Content\bootstrap.min.css.map" />
@@ -518,7 +520,6 @@
<None Include="Properties\PublishProfiles\IIS02-ETS.pubxml" />
<None Include="Properties\PublishProfiles\IIS02.pubxml" />
<None Include="Properties\PublishProfiles\SPS.pubxml" />
<Content Include="mongocrypt.dll" />
<Content Include="Properties\PublishProfiles\ETS.pubxml.user" />
<Content Include="Properties\PublishProfiles\IIS01.pubxml.user" />
<Content Include="Properties\PublishProfiles\IIS02-ETS.pubxml.user" />
@@ -618,8 +619,6 @@
<Content Include="Scripts\umd\popper-utils.min.js" />
<Content Include="Scripts\umd\popper.js" />
<Content Include="Scripts\umd\popper.min.js" />
<Content Include="snappy32.dll" />
<Content Include="snappy64.dll" />
<Content Include="WebUserControls\mod_bCodeTimb.ascx" />
<Content Include="WebUserControls\mod_menuBottomFullBCode.ascx" />
<Content Include="bundleconfig.json" />
+34 -4
View File
@@ -1,12 +1,42 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimpleFull.master" AutoEventWireup="true" CodeBehind="test01.aspx.cs" Inherits="GPW_Commesse.test01" %>
<%@ Register Src="~/WebUserControls/cmp_chart.ascx" TagPrefix="uc1" TagName="cmp_chart" %>
<%@ Register Src="~/WebUserControls/mod_commUtLog.ascx" TagPrefix="uc1" TagName="mod_commUtLog" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
<%--<asp:UpdatePanel ID="upChart" runat="server" UpdateMode="Always" ChildrenAsTriggers="true" RenderMode="Block">
<%--<asp:UpdatePanel ID="upChart" runat="server" UpdateMode="Always" ChildrenAsTriggers="true" RenderMode="Block">
<ContentTemplate>--%>
<uc1:cmp_chart runat="server" ID="cmp_chart" dtRif="2020-09-01" />
<script>
function toggle01() {
$("#div01").toggle();
}
function toggle02() {
$("#div02").toggle();
}
</script>
<asp:UpdatePanel ID="upChart" runat="server" UpdateMode="Always" ChildrenAsTriggers="true" RenderMode="Block">
<ContentTemplate>
<div class="row mt-5">
<div class="col-3">
<asp:LinkButton runat="server" ID="lbt01" CssClass="btn btn-sm btn-info btn-block" OnClientClick="toggle01()">temp</asp:LinkButton>
<%--<button id="btn01" onclick="toggle01()">Show/Hide 1</button>--%>
</div>
<div class="col-3">
<asp:LinkButton runat="server" ID="lbt02" CssClass="btn btn-sm btn-info btn-block" OnClientClick="toggle02()">Data</asp:LinkButton>
<%--<button id="btn02" onclick="toggle02()">Show/Hide 2</button>--%>
</div>
</div>
</ContentTemplate>
</asp:UpdatePanel>
<div class="row">
<div class="col-12" id="div01">
<uc1:cmp_chart runat="server" ID="cmp_chart" dtRif="2021-03-18" />
</div>
<div class="col-12" id="div02">
<uc1:mod_commUtLog runat="server" ID="mod_commUtLog" />
</div>
</div>
<%--</ContentTemplate>
</asp:UpdatePanel>--%>
</asp:Content>
</asp:Content>
+5 -1
View File
@@ -9,9 +9,13 @@ namespace GPW_Commesse
{
public partial class test01 : System.Web.UI.Page
{
#region Protected Methods
protected void Page_Load(object sender, EventArgs e)
{
cmp_chart.dtRif = DateTime.Today;
}
#endregion Protected Methods
}
}
+44 -8
View File
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
// <auto-generated>
// This code was generated by a tool.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GPW_Commesse
@@ -15,12 +15,48 @@ namespace GPW_Commesse
{
/// <summary>
/// Controllo cmp_chart.
/// upChart control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel upChart;
/// <summary>
/// lbt01 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbt01;
/// <summary>
/// lbt02 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbt02;
/// <summary>
/// cmp_chart control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GPW_Commesse.WebUserControls.cmp_chart cmp_chart;
/// <summary>
/// mod_commUtLog control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GPW_Commesse.WebUserControls.mod_commUtLog mod_commUtLog;
}
}
+3 -4
View File
@@ -511,15 +511,16 @@
<Content Include="Content\themes\base\tabs.css" />
<Content Include="Content\themes\base\theme.css" />
<Content Include="Content\themes\base\tooltip.css" />
<Content Include="Core\Compression\Snappy\lib\win\snappy32.dll" />
<Content Include="Core\Compression\Snappy\lib\win\snappy64.dll" />
<Content Include="Core\Compression\Zstandard\lib\win\libzstd.dll" />
<Content Include="ErrorPage.aspx" />
<Content Include="fonts\fontawesome-webfont.svg" />
<Content Include="images\AbstractDownload.jpg" />
<Content Include="images\favicon.png" />
<Content Include="Informazioni.aspx" />
<Content Include="jumper.aspx" />
<Content Include="libzstd.dll" />
<Content Include="logs\PlaceHolder.file" />
<Content Include="mongocrypt.dll" />
<Content Include="Scripts\bootstrap.bundle.js" />
<Content Include="Scripts\bootstrap.bundle.min.js" />
<Content Include="Scripts\bootstrap.js" />
@@ -550,8 +551,6 @@
<Content Include="Scripts\moment-with-locales.min.js" />
<Content Include="Scripts\moment.js" />
<Content Include="Scripts\moment.min.js" />
<Content Include="snappy32.dll" />
<Content Include="snappy64.dll" />
<Content Include="Test.aspx" />
<Content Include="WebUserControls\cmp_chart.ascx" />
<None Include="compilerconfig.json" />