Posted on: 7/29/2014 1:08:09 PM | Views : 439

Hi guys i have problem to open login page form .cs in asp.net before i open from anchor tag
<a href="LoginPopup.aspx" style="text-decoration: none;" class="pframe"> <asp:Button ID="lbllogin" runat="server" Text="Login" onclick="lbllogin_Click" /></a> now i have to do this from .cs page for that i write this code it open but not in fancybox .
string script = @"<script type=""text/javascript""> window.location.href = ""login.aspx"",""class=""pframe""; </script>"; ScriptManager.RegisterStartupScript(this, this.GetType(), "", script, true); how can i do this pls help me guys <3

Go to the complete details ...