Hello,
I really need some help with converting a line of code from a Telerik grid example. I have been converting a Telerik code example application that was written in C# using the Razor engine to Visual Basic with the Razor engine.
I have it all converted, but 1 line. I am having problems with he code inside of the ClientTemplate. Since I am using the Razor engine the "<#=" is not valid, but everything I try does not work.
Here is the line of code:
columns.Bound(Function(o) o.Employee).ClientTemplate("<#= Employee.FirstName + \" \" + Employee.LastName #>")
The line of code is for a dropdownlist in a Telerik grid. When I change the code to "<#= Employee.FirstName & "" "" & Employee.LastName #>" the grid will display, but the value displayed is not the employee name, but a zero which is the default employee id since an employee has not been selected yet.
I am sure this is simple, but I have spent a couple days trying to get this working. Your help is appreciated.
Rhek