By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,028 Members | 1,092 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,028 IT Pros & Developers. It's quick & easy.

Trace debug info "under" my controls

P: n/a
TPS
When I set trace enable to true in my web.config file, the debug info does
not display at the "bottom" of the page, it displays "under" all of my
buttons, labels, grids etc.

This behavior happens in GridLayout, or FlowLayout.

?
Thanks,

TPS.
Nov 18 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Hi TPS,

Thank you for using Microsoft Newsgroup Service. Based on your description.
When you use the Page Level tracing and let the Trace Logging to Page
Output. You found that the trace output are output onto the page in
disorder layout(even mixed with the controls on it). Is my understanding
correct?

If so, I think the problem is likely caused by the controls' position mode
on the webpage. If you locate the control or other element on the page as
relative position, the trace output will have on problem, just output at
the page's bottom.Because the trace will output the information ontot he
page by flow sequnce(after any other control or element which use relative
position,mode) However, if you locate some of the controls as absolute
position mode,for example:
<asp:Button id="Button1" runat="server" Width="128px" Height="40px"
Text="Button" style="Z-INDEX: 101; LEFT: 528px; POSITION: absolute; TOP:
32px"></asp:Button>
the "POSITION:absolute; TOP:32PX" just specify the absolute position.

In such cases, the trace output will ignore those contorls which use the
absolute position mode. And if some of the controls are right at the place
which will cover the trace output, then you will encounter the result that
the trace output and some controls are mixed together.

I think this a limit in the html page(since controls or element using
absolute position can cover other element on the same page).
Please try out the preceding suggestions and let me know whether they help.
Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 18 '05 #2

P: n/a
I think trace debug info is under your controls because your page layout is
GridLayout, if you have FlowLayout you wonŽt have this problem.

Personally, iŽd rather set pageOutput to False and then view the trace.axd
file.

Hope this helps

"TPS" <tp*@tps.com> wrote in message
news:e9**************@TK2MSFTNGP11.phx.gbl...
When I set trace enable to true in my web.config file, the debug info does
not display at the "bottom" of the page, it displays "under" all of my
buttons, labels, grids etc.

This behavior happens in GridLayout, or FlowLayout.

?
Thanks,

TPS.

Nov 18 '05 #3

P: n/a
TPS
>>This behavior happens in GridLayout, or FlowLayout.

As I stated in my original post, the behavior happens in GridLayout, or
FlowLayout.

Nov 18 '05 #4

P: n/a
TPS
Stephen, Christian.

Thanks for your replies.

Yes it was a case of "Absolute" positioning causing the problem.

The behavior did not change when I switched the page flow to FlowLayout.

It looks like if you build a page in GridLayout mode, visual studio puts
"Position = Absolute" tags on all of your web form objects you place on the
page.

But it you switch the page layout to "FlowLayout", it DOES NOT switch the
"Positon to relative" on all of your objects. (is this a bug?)

That is why I was experiencing this: >>This behavior happens in
GridLayout, or FlowLayout.

After killing the page and rebuilding it in FlowLayout everything works
fine.

Thanks for both of your responses.

TPS.
Nov 18 '05 #5

P: n/a
Hi TPS,

Thanks for your reply. I'm glad that my suggestion helps you. As for view
the trace info , I agree with Cristhian, you can view the trace.axd to view
the trace info. It can provide you more complete trace info of the whole
web applications as well as a certain request's.
Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Nov 18 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.