Torna al Thread

Dim cstype As Type = Me.GetType() Me.ClientScript.RegisterClientScriptInclude(Me.GetType, "StampaReport", "Funzioni_Comuni_JScript.js") If Not Page.ClientScript.IsStartupScriptRegistered("Report") Then Dim cstext As New StringBuilder() Dim strPagina As String = String.Format("gruppi_lavoro_dett.aspx?COD_GLAV={0}", _ DGV_GRUPPOLAVORO.SelectedDataKey.Values.Item(0)) cstext.Append("<script type=text/javascript>StampaReport('" & strPagina & "');</") cstext.Append("script>") Page.ClientScript.RegisterStartupScript(cstype, "Report", cstext.ToString(), False) End If
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5