can i call the java script to code behind file?if yes how?

Answer Posted / .net funda

yes u can do it.
write a javascript inside a string.
call Page.ClientScript.RegisterClientScriptBlock() method.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are validator? Name the validation controls in asp.net? How do you disable them?

542


Explain how to prepare culture-specific formatting in .net.

534


How do we sort the data from a dataset?

569


How does a web application session work?

554


Explain MVC model binders?

594






What are the new features implemented in ASP.NET?

599


What are sql notifications and sql invalidations?

525


Explain asp.net web forms.

556


What is scope of an application variable in asp.net?

490


What is the part of url?

530


What are the asp.net server side objects?

519


How would you create a permanent cookie?

564


How many types of Cookies are available in ASP.NET?

580


What’s the difference between asp.net web forms and asp.net mvc?

545


How can I create master page in asp net?

503