last day (14 days later) » 

01:06
howdy
hey that link worked
well I created the room manually ...
i just answered another question jk had posted and found the faq page that had that text
never tested mvc2 with it ... so not sure
yea - maybe could that text be updated?
JK
JK
01:08
wow that was fun
the yepnope stuff has been ripped out for quite a while
you using latest nuget?
well im headed out
later
JK
JK
latest version of nuget or mini? its mini 1.7
cya Daniel
and you are using @MvcMiniProfiler.MiniProfiler.RenderIncludes()
JK
JK
<%: MvcMiniProfiler.MiniProfiler.RenderIncludes() %>
MVC2
01:10
and what is coming back from the profiler calls ?
perhaps the html is being rendered behind your page due to z-index
JK
JK
How do I check? The generated html looks like it is working:
                   ids: ["b02ee784-3314-4903-abec-29dd100d28af","78378b1c-a3dc-45a1-b95e-a9e44ff214bb","6c36dad9-1222-4412-a83b-9f8c51517162","d3089ff9-c9c7-4425-bf73-1f207722b5c9","1ed30ec9-bba7-47fd-85f7-18f8366c0598","f0a32415-538b-4334-b76c-dacf5a08c198","361b386c-e836-4b96-9dbd-e275016be80a","a04221b2-9933-455b-a537-9b335c79802b","e089bbe9-a427-47a2-99fa-7a3d5381d7b0","dda30800-bd69-43ff-
Theres a lot of ids
well that really smells like z-index ...
try finding the element and bumping it up in firebug
can you find <div class="profiler-results"> in your html after it runs
bump that up to z-index 1000
what does this return: $(".profiler-results") (run in console)
JK
JK
looking
sorry - phone rang
where in console can I enter that?
firebug ... console tab ... type it in ...
JK
JK
There is no <div class="profiler-results">
Unless it is in the DOM only and not in the html tab
Aha I see the >>> in console now
$(".profiler-results") did nothing
01:19
what about >> MiniProfiler
JK
JK
alert($(".profiler-results").val()) was empty
>> MiniProfiler
JK
JK
Nothing
not an object?
JK
JK
Nothing showed in console window
with $(".profiler-results")
01:21
look at all the requests then ... when you reload
JK
JK
the console window showed >>> $(".profiler-results")
did any get non 200s
JK
JK
with MiniProfiler, nothing happened at all
in particular can you see: mini-profiler-includes.js being loaded
JK
JK
All 200 for mini, a few 304's for my own js
01:22
is it application/javascript
JK
JK
application/javascript; charset=utf-8
added screenshot to the question showing the files loaded, all are 200
hmmm can you try chrome for a sec ?
try refreshing the page ... and run that sequence in firebug
JK
JK
sorry chat crashed my FF
no luck in chrome
just a sec testing an mvc2 app
JK
JK
I'm just changing the page's jquery to see if there is a <div class="profiler-results"> or not
var box = $("#profiler-results");
alert(box);
yes it exists
changing the zindex in my styles.css now
hah well cant seem to make it show up
#profiler-results
{
z-index: 1001;
border: 5px solid red;
position: absolute;
top: 1px;
left: 1px;
width: 150px;
height: 150px;
}
and I dont see anything
01:38
try .profiler-result and .profiler-results
it is a class not an id ... just confirmed this is working on mvc2
JK
JK
yeah its a class, have a big red box in the corner now, but it is empty. alert(box.html()); says null
sorry I misunderstood the output .. var box = $("#profiler-results")
returns [] with length of 0.. so it did not find anything
do you see something like that in firebug ... if you refresh the page ?
refresh while in console ...
JK
JK
My console.all only shows
https://localhost/v2/mini-profiler-includes.tmpl?v=1.7.0.0&{}
GET https://localhost/v2/mini-profiler-includes.tmpl?v=1.7.0.0&{}
hm. thats not what I pasted into the chat
but anyway .. I dont see that mini-profiler-results call
only see mini-profiler-includes
can you try with a blank page? with no master template ... maybe something is interacting badly
JK
JK
sure will take a min
Aha .. got the little box thing :)
Wow , 2 seconds for a page on local host that has just two words
OK I will add all the css and js from the site master into this blank page one by one until I find a problem
Thanks a lot :)
01:52
awesome!
if you find a bug ... patches super welcome
either on github or google code
JK
JK
Its probably something in mine, maybe a even higher z index, will find out soon and let you know
cool ... be sure to answer the question :)
JK
JK
ok located it down to my ajax utilities script
damn .. its the ajax setup (copied direct from encosia.com
its a critical feature I cant turn off
$.ajaxSetup({
data: "{}",
dataFilter: function (data) {
var msg;

if (data == "") {
msg = data;
}
else if (typeof (JSON) !== 'undefined' && typeof (JSON.parse) === 'function') {
msg = JSON.parse(data);
}
else {
msg = eval('(' + data + ')');
}

if (msg.hasOwnProperty('d')) {
return msg.d;
}
else {
return msg;
}
}
});

last day (14 days later) »