Hello,
I'm using a client template in a search box. The box is bound to a web service and the template looks like this:
Things are working just fine in Chrome and IE but, in Firefox, I'm getting an error in firebug that the DataItem is not defined:
Sys.InvalidOperationException: Sys.InvalidOperationException: Error rendering template: DataItem is not defined. There's no reason why the web service would return the dataitem for Chrome and IE but not firefox... right?
Any ideas?
Thanks,
Mike
I'm using a client template in a search box. The box is bound to a web service and the template looks like this:
<
div
class
=
"searchResult"
>
<
div
style
=
"font-weight:bold;"
>#= Text #</
div
>
<
div
style
=
"font-size:.8em; font-style:italic;"
>#= DataItem.notes #</
div
>
</
div
>
Things are working just fine in Chrome and IE but, in Firefox, I'm getting an error in firebug that the DataItem is not defined:
Sys.InvalidOperationException: Sys.InvalidOperationException: Error rendering template: DataItem is not defined. There's no reason why the web service would return the dataitem for Chrome and IE but not firefox... right?
Any ideas?
Thanks,
Mike