asp.net.ph

Page.Trace Property

System.Web.UI Namespace   Page Class


Returns the TraceContext object associated with the page.

Syntax


Script [ TraceContext variable = ] Page.Trace

Property Value


variable Returns the current data in the TraceContext object.

The property is read only with no default value.

Remarks

Tracing tracks and presents the execution details about a Web request. For trace data to be visible in a rendered page, you must enable tracing at the page or application level.

Tracing on a page is disabled by default. To enable tracing for a page, include trace=true in the @ Page directive. To enable tracing for an entire application, you must enable it in the application's web.config file, which resides in the root directory of the application.

For more information, see ASP.NET Trace Functionality.

See Also

Page Members   TraceContext Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph