I created a javascript function FnNextQuestion() but I have a problem calling it in my C# class. Is there a way to call this function inside my aspx.cs class? I need help please...

Recommended Answers

All 2 Replies

you can call it in c# like this :
Page.RegisterStartupScript("myKey", "<script>FnNextQuestion()</script>");

Thanks. It's working!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.