Calling javascript function from code behind
How to Call javascript function from cshtml to code behind c#
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ravishankar SinghRank #669 · 3.6K reputationPosted Jun 19, 2013, 4:22 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jun 19, 2013, 8:36 PM EDT
Are you trying to call a JavaScript method (which is in .cshtml) from code behind (i.e. from Controller) or vice versa?
Regards,
Iftikar