Tuesday, January 24, 2012

How to access a URL of parent page in ASP. net


<script language="javascript" src="#">
   function url()
   {
         alert(document.location.href);
     }
</script>


 <asp:Button ID="Button1" runat="server" Text="Button"  onclientclick="url()"/>

No comments: