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 |
Explain the methods used to render the views in mvc?
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?
In razor syntax, what is the escape sequence character for @ symbol?
Describe the .net framework architecture.
What are Action Filters in ASP.NET MVC and its use?
What are the 3 segments of the default route, that is present in an ASP.NET MVC application?
Does Tempdata hold the data for other request in ASP.Net MVC?
What is boxing and unboxing?
Explain the tools used for unit testing in ASP.Net MVC
Explain the difference between viewbag and viewdata in mvc?
What are Validation Annotations?
How does work clr?