Pages

Advertisement

Sunday, October 28, 2007

Explain the differences between Server-side and Client-side code?

Server-side code runs on the server. Client-side code runs in the clients’ browser.

What data type does the RangeValidator control support?

Integer,String and Date.

Suppose you want a certain ASP.NET function executed on MouseOver over a certain button. Where do you add an event handler?

It’s the Attributesproperty, the Add function inside that property. So btnSubmit.Attributes.

Add("onMouseOver","someClientCode();")

What’s a bubbled event?

When you have a complex control, like DataGrid, writing an event processing routine for each object (cell, button, row, etc.) is quite tedious. The controls can bubble up their eventhandlers, allowing the main DataGrid event handler to take care of its constituents.

What’s the difference between Codebehind="MyCode.aspx.cs" and

CodeBehind is relevant to Visual Studio.NET only.