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


Please Help Members By Posting Answers For Below Questions

witch is the best insistute in sharpoint course.what abt future of share point course.

2563


What is the difference between localization and globalization?

571


Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?

627


How many types of controls are there in asp.net?

532


What are the cookies types in asp.net?

568






Explain what is an abstract class?

569


What are the elements of a website?

525


What are the benefits of view state?

567


Is redux flux?

542


What is class and object in asp.net?

506


Explain different authentication modes in asp.net?

558


Can action method static?

539


What is _dopostback in asp net?

532


what is silver light when will we use silver light,

1449


Differentiate between client-side and server-side validations in web pages.

571