How do you register JavaScript for webcontrols ?

Answer Posted / harshvardhan

You can register javascript for controls using <CONTROL -name>Attribtues.Add(scriptname,scripttext) method.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention few asp.net validators.

580


What are sessions used for?

561


Why is this service branded with windows livetm?

611


What are the navigation ways between pages available in ASP.NET?

574


How does session work?

513






Which of the following .NET framework supports Web API?

645


Difference between singleton and singlecall.

574


Can you explain autopostback?

541


How do you change the session time-out value?

585


How Can assign alias name for ASP.NET Web API Action?

942


What are the best practices to follow to secure connection strings in an ASP.NET web application?

562


Name the namespace which is used by ado.net?

534


Why do we need asp.net?

598


Explain difference betn dataset and recordset?

534


Which is better php or asp.net?

522