How do you enable tracing in on in asp .net page

It is containing all topics related to Visual Basic, .NET Framework, Web Resource, GDI etc.
Ladva Nidhi
Posts: 295
Joined: Sat Sep 20, 2014 5:26 pm
Contact:

How do you enable tracing in on in asp .net page

Postby Ladva Nidhi » Sun Oct 19, 2014 4:23 pm

How do you enable tracing in on an ASP.NET page?


Guest

Re: How do you enable tracing in on in asp .net page

Postby Guest » Fri Aug 07, 2015 8:13 am

1]Include an @ Page directive at the top of your .aspx file.

2]Add a Trace attribute and set its value to true, as shown in the following example:

<%@ Page Trace="true" %>

3]Optionally, include the TraceMode attribute to specify the order in which you want your trace messages to appear:

Set TraceMode to SortByTime to sort trace messages in the order in which they are processed.

Set TraceMode to SortByCategory to sort trace messages by the categories that you specified in the TraceContext.Warn and TraceContext.Write method calls in your page or server control code.


Return to “Visual Basic .NET and ASP.NET”

Who is online

Users browsing this forum: No registered users and 5 guests