Telerik Forums
Kendo UI for jQuery Forum
9 answers
4.0K+ views
Hi.

I am trying to render image that is brought together on Model with full object.
I know that most people use to render action (make a new request) only for image with Id, but that seems to me too much load just to display an image.

Is there any way that an image can be rendered with model?

My demo with northwind has this
@using Kendo.Mvc.UI
@model IEnumerable<MvcApplication_KendoTest.Data.Employee>
 
<script type="text/x-kendo-tmpl" id="template">
    <div class="employee">

    <img src="${Image}"/>
 
        <h3>${Name} ${Lastname}</h3>
      
 
    </div>
</script>
 
<h2>@ViewBag.Title</h2>
 
@(Html.Kendo().ListView<MvcApplication_KendoTest.Data.Employee>(Model)
    .Name("listView")
    .TagName("div")
    .ClientTemplateId("template")
    .DataSource(dataSource => {
        dataSource.Read(read => read.Action("Index", "Home"));
        dataSource.PageSize(12);
    })
    .Pageable()       
)
On my template I am tryig to render an image of employee. However this renders [object Object].
Can some one help me?...

Thanks in advance
Nencho
Telerik team
 answered on 29 Aug 2019
5 answers
1.4K+ views
Hi,

I would like to make a chart with multiple category axes that are grouped.  So the data might look something like the attached screenshot (data.png).  I want the chart to look similar to the attached Excel chart (chart.png).  I've tried making multiple, independent category axes in Kendo.  The problem is that the labels in the lower axis (the countries in this example) are spaced out equally instead of being grouped with the upper axis labels (the cities).  There may be a different numbers of cities for each country, so spacing them out equally doesn't work.  The long tick marks would be nice, but they're not required.  Mainly, I just need the countries to appear correctly below the cities in those countries, even if there are a different number of cities in each country.  Is there a way to do this in Kendo?

Regards,
Hughes
Teya
Telerik team
 answered on 29 Aug 2019
3 answers
504 views

Hi Guys,

I have been using Kendo UI for our AngularJS Application. The version I am using now is v2015.2.805. Recently I have updated the angular version to 1.4.8. Still the Kendo works fine. Now when I am trying to update the kendo version to v2015.3.930. All the kendo components like kendo-grid etc. doesn't work. And it doesn't give any error in the console too. 

I am basically updating the old kendo.all.js with the new kendo.all.min.js and requiring it as such in my main.js.

 

I can't figure out why this is happening. Is there any dependency issue that I missing? I through direction would be very much helpful for me. Thanks in advance guys.

 

Nencho
Telerik team
 answered on 29 Aug 2019
2 answers
163 views

    I have an issue with  resizable grid columns when the scroll of the page is moved from left to right. 
The columns can be resizable, with the  mouse, ONLY when the scroll has a fixed position, in the left of the grid . 
In case the list has more columns then the scroll, and the scroll is moved to the right, the resizable property is not working. The columns cannot be resizable using drag and drop any more.

Regards, 

   Cristina

Cristina
Top achievements
Rank 1
 answered on 29 Aug 2019
1 answer
189 views

Hi,

I was able to remove the validation method from the gantt. However, when I remove the date, its not making it empty and retaining its old value. Is there any way to be able to remove the date and make it not mandatory? https://dojo.telerik.com/ofUnAdit

 

Thanks!

Petar
Telerik team
 answered on 28 Aug 2019
1 answer
243 views

Hi all,

 

So for a good long time (A few years) I have been trying to get a telerik example to work.

I have follow the tutorials here and even tried to follow items on Plural site and other resources and 

they are all so very confusing. 

Let me ask this for clarity 

 

I am reading this example

Creating Applications
This article demonstrates how to use Telerik UI for ASP.NET MVC in ASP.NET MVC 5 applications.

https://docs.telerik.com/aspnet-mvc/getting-started/asp-net-mvc-5

 

 

Why do the instruction tell the user to copy element of kendo into your contents and scripts folders and 

then in the next few steps have your reference the CDN links??

Why are we being asked to copy elements to the scripts folder but the application uses information else where?

COuld this be why my datepicker does not work? Do we do both steps or do we do just one?

 

 

Nikolay
Telerik team
 answered on 27 Aug 2019
1 answer
6.8K+ views

How do you clear (reset) DropDownList selection in kendo UI for angular 2?

Thanks

Sully
Top achievements
Rank 1
 answered on 26 Aug 2019
1 answer
175 views

I am using Kendo Grid for MVC using Razor binding and want help with couple of features.

  • Frstly, i want to remove the filter option from Edit Column settings menu which comes when using GridFilterRow. (Attached screenshot of the same)

  • Secondly, I want to remove the "More Pages" option from Paging. (Attached screenshot)

 

Could I get some solution for the above?

 

 

Lance | Senior Manager - Technical Support
Telerik team
 answered on 26 Aug 2019
1 answer
133 views

I was looking the telerick date time picker example found here: 

https://docs.telerik.com/aspnet-mvc/getting-started/asp-net-mvc-5

It all failed to work for me. But this part of the example's instructions are confusing....

What does this mean?

 

Use CDN Services
Below are listed the steps for you to follow when including the Telerik UI for ASP.NET MVC JavaScript and CSS files from CDN.
Replace kendo ui version from the following code snippets with the current version of the product—for example, 2013.2.918.

 

 

My guess this is there way of saying that the example will not work but look at something from 2013???

This is beyond frustrating. Why can they post an example that works??

What part of the example is wrong... This is why I quit trying to user this telerik nonsense.

But maybe some one can explain?

 

Thanks in advance 

Viktor Tachev
Telerik team
 answered on 26 Aug 2019
8 answers
246 views

For 3 or maybe four years I have tried to understand and make telerik work... and it is just impossible to get this thing to work in a simple MVC application... Clearly people make it work... but for me it's not possible it seems.

 

I have followed all the steps to get telerik into my application and when it comes to making the datetime picker work... it does nothing..

So let me ask.

 

If I have an existing MVC application that has a datatime picker working in it 

Is it not possible to get the telerik date time picker to work?

 

This what I have now and this used the datetime picker that id default to the MVC I am guessing 

                <div class="form-group">

                    @Html.LabelFor(model => model.RES_START_DATE, htmlAttributes: new { @class = "control-label col-md-3" })

                    <div class="col-md-6">

                        @Html.EditorFor(model => model.RES_START_DATE, new { htmlAttributes = new { @class = "datepicker" } })
                        @Html.ValidationMessageFor(model => model.RES_START_DATE, "", new { @class = "text-danger" })
                    </div>

 

The above code work just fine with a datetime picker that must be a default thing...

 

But as soon as I added the attempt to use the Kendo dateime picker as listed in the example I get nothing ..

I am following these directions... (see below)and I have been trying to get any telerik control to work for 3 years with no luck

I must be doing something wrong. I come back everything I write an application because the controls look so nice...

but I end up with the same result. Nothing

https://docs.telerik.com/aspnet-mvc/getting-started/asp-net-mvc-5#add-telerik-ui-for-aspnet-mvc

When I add: @(Html.Kendo().DatePicker().Name("datepicker"))

To my mvc application I get nothing but a blank field... each and every time I try...

Pure Kendo nothingness...

Also in the browser's f12 view I get what you see in the screen shots.

I am pretty much giving up on telerik after this attempt so this nightmare can be over..

but since I have the forums I thought I would give it one my try.

 

Please see screen shots if you have time to assist as I am totally lost! Thank You!

 

Viktor Tachev
Telerik team
 answered on 26 Aug 2019
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Drag and Drop
Application
Map
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
DropDownTree
ListBox
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
Styling
ColorPicker
Pager
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
Licensing
PivotGridV2
ScrollView
Switch
TextArea
BulletChart
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
TimePicker
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
LLM Kit
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?