1 what 's the difference between Response.write() and Response.Output.write()?
The latter one allows you to write formatred cutput.
2 what method are fired during the page load?
Init() -when the page is instentiated.
Load()-when the page is loaded into server mermony.
PreRender()-the biref moment before the page is displayed to the user as html.
Unload()-when page finishes loading.
3.where does the web page belong int the .Net Framework class hierarchy?
System.Web.UI.Page
4where do you store the infomation about the user's local?
System.Web.UI.Page.Culture
5what's the difference between code behind="MyCode.aspx.cs" and src="Mycode.aspx.cs"?
Code behind is relevant to visual studio .Net only
6what data type does the RengValidator control support?
Integer,String,Date
7Explain the difference between server-side and client-side code?
server-side code runs on the server
client-side code runs in the client's browser
8what type of code is found in a code-behind class?
server-side code
9should validation(did the user enter a real date) occur server-side or client-side?why?
client-side. this veduces an additional request to the server to validate the user input
10what does the enableviewstate property do?why would i want it on or off?
It enable the viewstate on the page
it allows the page to save the users input on a form
11what is difference between server.Transfer and response.redirect?why would i choose one over the other?
Server.Transfer is used to post a form to another page
Response.Redirect is used to redirect the used to another page or site
12
Suppose you want certarn asp.net function extented on MouseOver over