Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
1.00/5 (1 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

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
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900