Can you handle all button click events at once in a form?
Give coding.
Answer / seema dalal
suppose ,there r 3 buttons & we have to handle all button
click events at once. Then try following steps
1) Write eventhandler
Public Sub clickevent(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Button1.Click, Button2.Click,
Button3.Click
Dim b As Button = CType(sender, Button)
Response.Write("hello:" & b.Text)
End Sub
2) then call this event handler on click event of eech
buttons.
| Is This Answer Correct ? | 5 Yes | 0 No |
Will there be a .net compact framework 3.0 release with release of .net framework 3.0?
What is entity sql? : Entity framework
What is meant by domain model?
explain why t4 entity is important in entity framework?
What is layout in mvc?
What is the difference between viewbag and viewdata in asp.net mvc?
what do you mean by navigation property?
Who defines the CAS code groups
what is way of loading data in ef (entity framework)?
What is connected scenario? : Entity framework
What is the difference between windows vista and .net framework 3.0 ?
Explain the tools used for unit testing in ASP.Net MVC