
Structuring an ASP.NET Page | 37
Web Forms
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
SmartNavigation
<%@ Page SmartNavigation="True|False" %>
Specifies whether ASP.NET’s SmartNavigation feature is enabled.
SmartNavigation, which is supported only by IE 5.x and later, uses
IFrame elements to allow only portions of the page to be refreshed
when an ASP. NET page containing a form is posted to the server. This
can eliminate the flicker associated with page refresh, and also
prevents multiple entries in the browser history from postbacks. The
default value, which is set in the
<pages> section of the machine.config
configuration file, is
False.
Strict
<%@ Page Strict="True|False" %>
Specifies whether pages written in Visual Basic .NET will be compiled
using
Option Strict mode. This mode does not permit any implicit data
type conversion that would result in data loss (also known as narrowing
conversions) and does not allow late binding.
Option Strict also
includes the restrictions of
Option Explicit, so setting the Strict
attribute to True also requires that all variables be explicitly declared
before use. The default value, which is set in the
<compilation> section
of the machine.config configuration file, is
False.
Trace
<%@ Page Trace="True|False" %>
Specifies whether the ASP.NET tracing feature is enabled for the page.
Enabling tracing at the ...