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 |
What is tracing?Where it used.Explain few methods available
How can we determine action invoked from HTTP GET or HTTP POST?
Which version of .net framework is installed?
What is managed extensibility framework?
what is scalar property?
What are the main components of .net framework?
I am confusing about reflection.can any one tell about REFLECTION with example?
what is conceptual model?
I have 2+ years of fake experience,actually i could not answer for project questions..?how can i answer please suggest me..?
What is ado.net data provider? : Entity framework
Is any files are generated,when we are adding the web reference to the web service?
When using aspx view engine, to have a consistent look and feel, across all pages of the application, we can make use of asp.net master pages. What is asp.net master pages equivalent, when using razor views?