Hello,
we have a Grid with automatic data binding to DataTable object. One of the columns calles "Image URL" contains urls of images on the web. Instead of printing the URLs I would like to load and display images that correspond to it. Here is the code we use
Model.dt is a DataTable object. Please help.
we have a Grid with automatic data binding to DataTable object. One of the columns calles "Image URL" contains urls of images on the web. Instead of printing the URLs I would like to load and display images that correspond to it. Here is the code we use
@(Html.Telerik().Grid(Model.dt) .Name("TheGrid") .Scrollable(s => { s.Enabled(true); s.Height(600); }) .Columns(col => col.AutoGenerate(c => { c.Width = "150px"; }))) .Sortable(sorting => sorting.Enabled(true)) .Filterable(filtering => filtering.Enabled(true)) .Pageable(paging => paging.PageSize(int.MaxValue).Style(GridPagerStyles.Status)) .ClientEvents(events => { events.OnDataBinding("onResultsGridDataBinding"); }) )Model.dt is a DataTable object. Please help.