Where do you add an event handler ?

Answer Posted / sudhanshu

It's the Attributesproperty, the Add function inside that property.
e.g. btnSubmit.Attributes.Add(""onMouseOver"",""someClientCode();"")

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between list and dictionary in c#?

462


Is c++ or c# better?

541


What are the differences between value types and reference types?

550


Why reflection is used in c#?

498


Why do we use hashtable in c#?

481






What is the difference between “out” and “ref” parameters in c#?

512


What are the steps to create a webservice and consume it?

475


What is asenumerable in c#?

488


What is desktop application testing?

489


What are the main reasons to use c# language?

498


How many classes are there in classification?

509


What is datetime minvalue in c#?

573


What is interface c#?

464


Can we maintain state in webservice?

504


What is hierarchical inheritance in c#?

489