This is a migrated thread and some comments may be shown as answers.

[Solved] Grid nor rendering class as expected

0 Answers 50 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
carlg
Top achievements
Rank 1
carlg asked on 15 May 2012, 03:58 PM
I'm trying to place an image button on my grid that essentially clicks another button on the screen.

Here is the code from my grid:

columns.Template(o => { }).Title("Select").Width(100)
                .ClientTemplate("<img src='" + Url.Content("~/Content/images/find.png") + "' class='lookupclass' title='Lookup' />");


When Telerik renders the HTML, everything is fine, but the class="lookupclass" does not get rendered with double quotes around like the other elements do.

I could change this to anything other than class and it substitutes the single quotes with double quotes for me.

Please help.
Thanks
Tags
Grid
Asked by
carlg
Top achievements
Rank 1
Share this question
or