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

[Solved] syntax issue MVC razor: <#= CustomerID #>

0 Answers 93 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.
Kedar
Top achievements
Rank 1
Kedar asked on 22 Jul 2012, 06:06 PM
Hi All,

I am unable to access a variable in Grid using the syntax <#= CustomerID  #>. I get a java script error on ie9 saying expected ;. Here is the sample line. I am using MVC3 razor application

columns.Bound(grid => grid.VendorId).ClientTemplate("<a href='<# CaseId #>'>Edit</a>");

thanks,
Kedar,
Tags
Grid
Asked by
Kedar
Top achievements
Rank 1
Share this question
or