sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve
asked on 10 Nov 2011, 05:55 PM
(reference attached)
So the "person-card-template" is the problem...the IMG src seems to be putting spaces before and after the username parameter and we're not sure why. Inspecting with firebug, the JSON seems to be coming down without spaces for that parameter.
You can see the result in firebug on the left monitor image.
I added in some .Trim() statements to the webservice just to be SUPER sure it wasn't just firebug not showing them to me.
Steve
So the "person-card-template" is the problem...the IMG src seems to be putting spaces before and after the username parameter and we're not sure why. Inspecting with firebug, the JSON seems to be coming down without spaces for that parameter.
You can see the result in firebug on the left monitor image.
I added in some .Trim() statements to the webservice just to be SUPER sure it wasn't just firebug not showing them to me.
Steve
6 Answers, 1 is accepted
0
Hello Steve,
Petyo
the Telerik team
I failed reproducing the problem - see this fiddle. Maybe there is something else which adds those spaces?
All the best,Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 11 Nov 2011, 02:32 PM
I dont...think so, have a look
http://screencast.com/t/rJLb5fLPisUf
There shouldn't be anything doing it...I put a break directly after the template finishes and the results come out like this
http://screencast.com/t/rJLb5fLPisUf
There shouldn't be anything doing it...I put a break directly after the template finishes and the results come out like this
<
li
class
=
"search-item"
>
<
span
class
=
"person-info"
>
<
span
class
=
"name"
> NAME </
span
><
br
>
<
span
class
=
"email"
> EMAIL </
span
><
br
>
<
span
class
=
"role Student"
> Student </
span
>
</
span
>
</
li
>
0
Hi Steve,
Petyo
the Telerik team
for some reason, the screencast does not play on my machine. Do you exhibit the same problem in the jsfiddle I sent? If not, Is it possible for you to modify the example to the point, where it reproduces the problem you describe?
Best wishes,Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 11 Nov 2011, 05:07 PM
Darn, plays here...
Well yeah I can replicate with my version of Kendo.all. I put it in my dropbox and attached it to the fiddle and the spaces are there.
http://jsfiddle.net/yjWZB/1/
Well yeah I can replicate with my version of Kendo.all. I put it in my dropbox and attached it to the fiddle and the spaces are there.
http://jsfiddle.net/yjWZB/1/
0
Hi Steve,
Petyo
the Telerik team
Now it gets weird. http://screencast.com/t/ZarLTEmhs. The fiddle you sent seems to work fine in my environment too. Screenshot is from FF 7.0.1 - I also checked in 8.0. Am I missing something?
Kind regards,Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 11 Nov 2011, 05:34 PM
Im using FF7, are you inspecting the HTML in firebug?
**EDIT** Wait no, hangon that's not the same issue at all duh....hang tight
**EDIT** Wait no, hangon that's not the same issue at all duh....hang tight