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

what are the events raised in asp.net page life cycle?in which stage view state can be loaded?

777


Hi All, Im an MCA holder with 3+ years of experience in asp.net. Now i want to move to some good government job. I have no idea about different categories of exams held & which one can be applicable for my education background. I have done B.A with MCA. Please help me out with your valuable suggestions. I would be very grateful. Thanks Anuj

3057


What are html helpers in asp.net?

802


What is asp.net mvc? : asp.net mvc

783


What is the difference between web.config and machine.config in ASP.NET?

848


Can we set which type of comparison we want to perform by the CompareValidator control?

775


How will you do Redo and Undo in a TextControl?

889


What is cas?

830


What is the use of global.asax file?

780


What is directive in asp net?

766


Explain parts of assembly?

752


What is the life-span of the items in the viewstate?

729


What are custom controls?

728


What are the three parts of an http response?

730


What are validator? Name the validation controls in asp.net?

768