function show() { var hdn=document.GetElementById('hdnShow').value; alert(hdn) }
<asp:HiddenField Id="hdnShow" Value="False" runat="Server" />
Protected Sub dgttumfileview_PageIndexChanged(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridPageChangedEventArgs) Handles dgttumfileview.PageIndexChanged Try hdnShow.Value="True" If (Not ClientScript.IsStartupScriptRegistered("alert")) Then Page.ClientScript.RegisterStartupScript(Me.GetType(), "alert", "show();", True) End If Catch ex As Exception Trace.Warn("dgUnPaidScroll_PageIndexChanged", ex.Message) End Try End Sub
function show() { var hdn=document.getElementById('<%= hdnShow.ClientID %>').value; alert(hdn) }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)