Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Can you handle all button click events at once in a form?
Give coding.



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

Post New Answer

More Dot Net Framework Interview Questions

Explain the methods used to render the views in mvc?

0 Answers  


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?

0 Answers  


In razor syntax, what is the escape sequence character for @ symbol?

0 Answers  


Describe the .net framework architecture.

0 Answers  


What are Action Filters in ASP.NET MVC and its use?

0 Answers  


What are the 3 segments of the default route, that is present in an ASP.NET MVC application?

0 Answers   NA,


Does Tempdata hold the data for other request in ASP.Net MVC?

0 Answers  


What is boxing and unboxing?

4 Answers   Kanbay, TCS,


Explain the tools used for unit testing in ASP.Net MVC

0 Answers   B-Ways TecnoSoft,


Explain the difference between viewbag and viewdata in mvc?

0 Answers  


What are Validation Annotations?

0 Answers  


How does work clr?

0 Answers  


Categories