Posted on: 6/17/2014 3:51:08 AM | Views : 414

Hi, 
I'm having this login page code.Now i want to call C# function from javascript .I could not use scriptmanager because my code is html code .If i convert it from html to asp means i will loss my styles.So is there anyway to call C# function without using pagemethods
<%@Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %> <!DOCTYPE html> <html lang='en'> <head> <script type="text/javascript"> function redirect() { window.location.href = 'Register.aspx'; } function login() { //C#function calling } </script> <meta charset="UTF-8" /> <title> </title> <link rel="stylesheet" href="/Content/css/style.css&q ...

Go to the complete details ...