Click here to Skip to main content
14,668,844 members
Rate this:
Please Sign up or sign in to vote.
See more:
columns.Bound(n => n.FilePath).Title("Image").ClientTemplate("<img src='" + Url.Content("../../images/Application/Document/")+"#= FilePath#'height='62' width='62'/>");
Posted
Comments
Krunal Rohit 31-Oct-15 9:11am
   
And your question ?

-KR
ARYA JAGANNATH 31-Oct-15 9:29am
   
Not Working In InnerGrid!
Krunal Rohit 31-Oct-15 12:09pm
   
Try this,
columns.Bound(n => n.FilePath).Title("Image").ClientTemplate("<img src='" + Url.Content("../../images/Application/Document/")+"#:FilePath#'height='62' width='62'/>");

-KR

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

According to the demo given here[^], try this:
columns.Bound(n => n.FilePath).Title("Image").ClientTemplate("<img src='" + Url.Content("../../images/Application/Document/")+"#:FilePath#'height='62' width='62'/>");


-KR
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100