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

External filepath given in ClientRowTemplate

1 Answer 53 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Rao
Top achievements
Rank 1
Rao asked on 23 Jul 2013, 05:19 AM
Hi,

  I am using Kendo UI-  Grid  in my screen, but unfortunately I had some issue with it.

In my Kendo().Grid , I am using the RowTemplate. It have a property  called ClientRowTemplate, on that  , we are using below line of code to show an image.

“ "<img src='" + Url.Content("~/Content/Images/") +"#:data.ImageFileName#' alt='#: “data.ImageFileName #' style =width:50px; />" .

 But  I want to give another path like Url.Content("D:\Images\1")   , but it is not taking the path. Images were not shown  from these path.Why is it so?

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 24 Jul 2013, 01:27 PM
Hi Rao,

 
Please note that Url.Content method is not directly related to KendoUI as it's build-in ASP.NET MVC method. I would suggest to check the MVC documentation and ask for support at ASP.NET MVC forums or StackOverflow.

Kind Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Upload
Asked by
Rao
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or