Logo 
Search:

Asp.net Answers

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds
  Question Asked By: Diem Tran   on Sep 28 In Asp.net Category.

  
Question Answered By: Aalia Arain   on Sep 28

A quick way round the absolute positioning problem  is to add a div to the
bottom of your page  and set  it's top  style to the bottom most height of
your content, that will absolutly position the trace  content.
This way it will appear below your page.
As so: -
...
<div style="position:absolute;left:0px;top:400px;">
Better still give it server side functionality and when you are in deug and
Tracing is enabled set the div to visible.

*********************************************
A note from me on all this:

My personal recommendation is trace.axd is sometimes a better choice.

http://www.learnasp.com/freebook/learn/debug1.aspx

Add the following to your
<system.web> section in your web.config file:
<trace enabled="true" requestLimit="50" pageOutput="false" />

http://localhost/trace.axd.

This lets you see the trace but it doesn't clash with the varied
positioning for you page. Remember not to leave this on in production.

scottcate.mykbpro.com/kbArticleRead.aspx?ArtID=711
is a short article written by Scott Cate on how to secure your
trace.axd file so that it's not available for the world to see.

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Trace Hogs the Whole Page Or get search suggestion and latest updates.


Tagged: