Can we use the java script code in .Net Code behind?
Answer Posted / raj
yes we can use java script code in .Net in code behind
suppose we have a validation on button click event based on id
button1
then
button1.attributes.add("OnClick",retun functionname);
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is AutoPostback?
In which event of the page life cycle, is the viewstate available?
What are sql notifications and sql invalidations?
Why is global asax is used for?
What is the difference between mvc and asp.net? : Asp.Net MVC
What are the main requirements for caching?
Explain exception handling in .net.
Do gac'ed assemblies have fulltrust?
Explain the updatepanel?
Define globalization and localization.
Difference between DataGid and Girdview? Difference b/w .Net 2.0, 3.0 and 3.5 ? Diff b/w dispose & Finialize Methods?
What is the difference between runtime version and version?
When was asp.net released?
What is an example of an application service provider?
We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?