30.07.2013 Views

Visual Basic.NET How to Program (PDF)

Visual Basic.NET How to Program (PDF)

Visual Basic.NET How to Program (PDF)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1028 ASP .<strong>NET</strong>, Web Forms and Web Controls Chapter 20<br />

LiteralControl class StreamReader class<br />

Load event of class Page StreamWriter class<br />

loginUrl attribute of forms element in System.Web.Security namespace<br />

Web.config System.Web.UI<br />

MIME type System.Web.UI.WebControls namespace<br />

mode attribute of forms element in<br />

System.Windows.Forms namespace<br />

Web.config<br />

tag<br />

name attribute of forms element in<br />

Text property of class HyperLink<br />

Web.config<br />

TextBox class of namespace<br />

NavigateUrl attribute in XML file<br />

System.Web.UI.WebControls<br />

NavigateUrl property of class HyperLink title HTML element<br />

.<strong>NET</strong> Framework Toolbox<br />

Page class trace element in Web.config<br />

page tracing trace property of an ASP .<strong>NET</strong> page<br />

pageLayout property of ASP .<strong>NET</strong> page trace property of class Page<br />

path <strong>to</strong> a resource trace.axd file<br />

PhysicalApplicationPath property of TraceContext class<br />

class HttpRequest<br />

tracing<br />

postback Uniform Resource Loca<strong>to</strong>r (URL)<br />

processing directives in ASP .<strong>NET</strong> page user control<br />

protection attribute in forms element in users attribute of deny element in<br />

Web.config<br />

Web.config<br />

RegularExpressionValida<strong>to</strong>r class validating information<br />

request method ValidationExpression property of class<br />

Request property of class Page<br />

RegularExpressionValida<strong>to</strong>r<br />

RequiredFieldValida<strong>to</strong>r class valida<strong>to</strong>r<br />

Response property of class Page Value property of class<br />

ServerValidate event of class<br />

ServerValidateEventArgs<br />

Cus<strong>to</strong>mValida<strong>to</strong>r viewing a page with tracing enabled<br />

ServerValidateEventArgs class viewing the tracing information for a project<br />

Session property of class Page virtual direc<strong>to</strong>ry<br />

session variable Warn method of class TraceContext<br />

sessionState element of Web.config Web Form<br />

SetAuthCookie method of class<br />

FormsAuthentication<br />

Web.config file<br />

SELF-REVIEW EXERCISES<br />

20.1 State whether each of the following is true or false. If false, explain why.<br />

a) FlowLayout is the default setting of the PageLayout property.<br />

b) It is possible <strong>to</strong> enable tracing in an individual page or in an entire application in ASP .<strong>NET</strong>.<br />

c) Web Form file names typically end in .aspx.<br />

d) If no expiration data is set for a cookie, that cookie will be destroyed at the end of the<br />

session.<br />

e) A maximum of one valida<strong>to</strong>r control can be placed on a Web Form.<br />

f) The TextBox Web control is not the same TextBox Windows control.<br />

g) An AdRota<strong>to</strong>r always displays all ads with equal frequency.<br />

h) The file that contains image information for an AdRota<strong>to</strong>r can be in a format other<br />

than XML.<br />

i) HttpResponse method Redirect can redirect the browser only <strong>to</strong> an ASP .<strong>NET</strong><br />

page within the same folder.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!