Can we use the java script code in .Net Code behind?
Answer Posted / zikku
yes we can use javascript in code behind.
Define the script block that contains the JavaScript
function. You can add this directly to the HTML of the page.
Insert the script block by the
Page.RegisterStartupScript() or the
Page.RegisterClientScriptBlock() method.
or by using updatepanel by raising an async postback using
JavaScript code
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
What is repository pattern in mvc.net? : asp.net mvc
How may clustered index we can create in table?
Where session variables are stored?
Is asp.net and .net same?
What is mta?
Which Is Faster MVC or ASP.net ?
How do sessions work?
What is ispostback method in asp.net? Why do we use that?
What is the use of express session?
If 200 is for all successful operation then why do we have 201 response codes?
What is caching? Explain.
Define repository pattern in mvc.net? : asp.net mvc
What does aspcompat="true" mean?
How do active server pages work?
How many languages are supported by .NET at present time?