Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 22nd, 2004, 12:17 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 218
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trace properties in Grid Layout

I want to display all the values for debugging that the Trace="True" attribute of the @Page directive provides, but I'm using the grid layout, so my page elements sit on top of all the trace display.

How can I get it to show at the bottom?

- - - - - - - - - - - - - - - - - - - - - - -
In God we trust, everything else we test.
 
Old November 23rd, 2004, 11:40 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Modify the trace node in the web.config. Set the "enabled" attribute to "true":

<trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />

Now you can run your pages normally, without having trace turned on for the individual page, and you can go to the trace page that is built into ASP.NET:

http://localhost/mywebapplication/trace.axd

This will give you a list of all the requests and from there you can click on the trace detail for each.
 
Old November 23rd, 2004, 11:44 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 218
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, Peter

It works, but I have to set LocalOnly="false" because I'm not working directly on the webserver. It's still in dev, so I'm not worried about snoopers.

- - - - - - - - - - - - - - - - - - - - - - -
In God we trust, everything else we test.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Specific grid layout required Bron ASP.NET 3.5 Professionals 0 May 20th, 2008 08:39 PM
... how to load a page without a trace ??? dk6607 ASP.NET 1.0 and 1.1 Professional 4 September 4th, 2007 09:10 AM
using Trace Tids ASP.NET 1.0 and 1.1 Basics 0 August 15th, 2004 02:20 PM
Debug and Trace bmains ASP.NET 1.x and 2.0 Application Design 3 March 17th, 2004 09:28 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.