yodeski / mvc-mini-profiler

Automatically exported from code.google.com/p/mvc-mini-profiler
0 stars 0 forks source link

Using MvcMiniProfiler in combination with Telerik RadAjaxPanel in webforms #75

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We are using MvcMiniProfiler 1.7 in a webforms project, and so far we're very 
pleased with it.

We also make heavy usage of the Telerik : 
http://www.telerik.com/products/aspnet-ajax.aspx ajax controls, and we have a 
problem with the profiler when combined with RadAjaxPanels. For instance, we 
have a usercontrol wrapped in an ajaxpanel. Upon the first load, profiled code 
is recognized and loaded in the profiler, but on subsequent partial postbacks, 
the profiler does not get updated.

Any ideas?

Thanks.

Original issue reported on code.google.com by lotrlord...@gmail.com on 28 Jul 2011 at 10:21

GoogleCodeExporter commented 9 years ago
Do you by any chance have a sample application that shows this issue? (I 
realise the telerik controls are propitiatory so that might make it tricky).

The reason I ask is I have been fiddling on the telerik sample pages and it 
seems the controls are built on top of the MS Ajax framework and it does not 
seem override the default end request logic.

Miniprofiler is wired up to the end request events from the MS Ajax framework 
and it is working with a number of projects I have at work.

Original comment by MHB...@gmail.com on 28 Jul 2011 at 8:22

GoogleCodeExporter commented 9 years ago
we are going to need a patch for telerik or telerik fans if we want this sorted

Original comment by sam.saff...@gmail.com on 26 Aug 2011 at 2:43

GoogleCodeExporter commented 9 years ago
Check my issue 
(http://code.google.com/p/mvc-mini-profiler/issues/detail?id=105) and solution.

I think this will also work for Telerik controls.

Until it's built(hopefully) into the profiler, you can just call the code on 
page load or jQuery's document.ready

Original comment by geoff.ap...@4sightsport.com on 2 Sep 2011 at 1:14

GoogleCodeExporter commented 9 years ago
I patched this ... let me know if latest works

Original comment by sam.saff...@gmail.com on 19 Feb 2012 at 11:48