Hi Developers,
I am creating a Exam page . so i want to put a timer on my page , i have tried lots using c#,but no one is working exactly. si i am added timer using javascript code . i have to call c# function from javascript when the time countdown is 0.
i have done and working but i dont know how to call C# server side Function from javascript .
my html code
Session Time 10 seconds
my javascript code
my C# code
protected void Page_Load(object sender, EventArgs e) { } public void MyName(object sender, EventArgs e) { name(); } public void name() { lbl.Text = "Paul Raj"; }
i need to bind the C# MyName() function and Display the name "Paul Raj" after the countdown end .am trying , if anyone know this kindly help me to done this module , this is the last module of my project.
thanking you
Paul.S
'man becomes what he thinks about'

Thiyagarajan EPosted Oct 22, 2018, 8:23 AM
Session Time "countdown">10 seconds
Name :"lblName">
Sai Kumar KoonaPosted Oct 22, 2018, 8:19 AM