Home All Groups Group Topic Archive Search About

Trace does not work with UpdatePanel

Author
8 Jul 2009 7:19 PM
Ryan Liu
Hi,

I found out the trace will not be updated if page is working in partial
upate mode inside upate panel.

Is there a way to work around this?

Thanks!
Ryn

Author
8 Jul 2009 8:23 PM
Gregory A. Beamer
"Ryan Liu" <ryanliu***@hotmail.com> wrote in news:uYLq$DAAKHA.4168
@TK2MSFTNGP05.phx.gbl:

> Hi,
>
> I found out the trace will not be updated if page is working in partial
> upate mode inside upate panel.
>
> Is there a way to work around this?


Trace requires both server and client side, so I am not sure you can use
the default trace mechanism for AJAX call backs. I have not tested it or
experimented with it, so I am not 100% sure, but knowing the mechanism, I
don't think you can do it out of the box using any of the normal code
samples you will find.

Depending on what you are trying to trace, you can set up your own
mechanism.


--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
Show quoteHide quote
|      Think outside the box!             |
*******************************************
Are all your drivers up to date? click for free checkup

Author
8 Jul 2009 8:41 PM
Ryan Liu
Show quote Hide quote
"Gregory A. Beamer" <NoSpamMgbworld@comcast.netNoSpamM> wrote in message
news:Xns9C429C86D95A9gbworld@207.46.248.16...
> "Ryan Liu" <ryanliu***@hotmail.com> wrote in news:uYLq$DAAKHA.4168
> @TK2MSFTNGP05.phx.gbl:
>
>> Hi,
>>
>> I found out the trace will not be updated if page is working in partial
>> upate mode inside upate panel.
>>
>> Is there a way to work around this?
>
>
> Trace requires both server and client side, so I am not sure you can use
> the default trace mechanism for AJAX call backs. I have not tested it or
> experimented with it, so I am not 100% sure, but knowing the mechanism, I
> don't think you can do it out of the box using any of the normal code
> samples you will find.
>
> Depending on what you are trying to trace, you can set up your own
> mechanism.
>
>
> --
> Gregory A. Beamer
> MVP; MCP: +I, SE, SD, DBA
>
> Twitter: @gbworld
> Blog: http://gregorybeamer.spaces.live.com
>
> *******************************************
> |      Think outside the box!             |
> *******************************************

Yes,  thanks.  Actually I swith to System.Diagnostics.Trace and debug on
server side.
Author
8 Jul 2009 8:48 PM
Gregory A. Beamer
"Ryan Liu" <ryanliu***@hotmail.com> wrote in
news:eSS#IyAAKHA.5092@TK2MSFTNGP03.phx.gbl:

>
> Yes,  thanks.  Actually I swith to System.Diagnostics.Trace and debug
> on server side.


Sounds like you solved it. Good work!

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
Show quoteHide quote
|      Think outside the box!             |
*******************************************



Post Thread options