Telerik Forums
Kendo UI for jQuery Forum
1 answer
192 views

How can I do image preview when I select multiple images and set async.batch = true (and async.autoUpload = false)? I can only see the last image.

I can do image preview correctly when async.batch = false.

Thanks.

Dimitar
Telerik team
 answered on 06 Oct 2017
1 answer
783 views

Do you have a document describing all of event object's properties?

For example for the upload event, I find this in your example:

function onUpload(e) { e.sender.options.async.saveUrl = "save?id" + 1;}

But how do I know that e has a property called sender?

Dimitar
Telerik team
 answered on 06 Oct 2017
3 answers
490 views

I basically want my combobox to have the option of searching between two sources, and able to switch between them with a click of a button contained in the footer template. I almost got it working but have some problems. Please see:

 

https://dojo.telerik.com/Esibiy

 

I can switch the data source and get the results to display, however the problems are:

1) Button text does not stay changed, if you comment out the .setDataSource() in switch search, then the button text is preserved and switches between Local and Global. But calling .setDataSource() seems to load the template again, though the span accompanying it does not change. I tried setting the footer template in switchSearch with:

widget.footerTemplate = $("#alternativeTemplate").html(); but that didn't work.

2) If I type Kiwi, which has no result in local search, and click Global search to switch data source, the filtering does not apply, even though I would like it to because I have entered something in the textbox already. 

 

How can I make this work? Thanks.

 

 

Joana
Telerik team
 answered on 05 Oct 2017
1 answer
178 views
Hi folks,

I have a datasource bound spreasheet. When I enter a value in a cell, the change is reflected in the datasource. That's good.
Now I have the following:
A1: 100
A2: 200
A3: =SUM(A1:A2)

On entering the formula in cell A3, the bound datasource gets the sum value 300 correctly. Then I change value in cell A1 from 100 to 150, the displayed value in cell A3 is updated to 350, but my datasource is not updated nor notified about this change. 

So the spreasheet show:
A1: 150
A2: 200
A3: 350


But the bound datasource actual have:
A1: 150
A2: 200
A3: 300

How can I fix this?

Thanks,

Anna
Bozhidar
Telerik team
 answered on 05 Oct 2017
5 answers
526 views

Hi,

I'm trying to develope a tabbed angular material view where each tab contains a kendo grid. By clicking on the tab a post request is fired and, in the callback, columns definition and data are computed. After all these operation grid's data options are reassigned. Unfortunately the grid is not updated, i've googled and searched in the forum and the suggestion is to call the reload method gained through a reference to view. I'm trying to avoid these to keep my code clean and not reference view from controller and on the other way the building an attribute for that is quite useless.

Is there any event to fire to reload view? Is there any other strategy? Or simply am I missing something?

 

Thanks in advance,

Greetings

Alex Hajigeorgieva
Telerik team
 answered on 05 Oct 2017
4 answers
302 views
The selectable and navigatable properies of a listview can not be set using the data-selectable and data-navigatable attributes. This is because they are not in the default options object of the listview.

Regards, Jaap
Stefan
Telerik team
 answered on 05 Oct 2017
4 answers
274 views

I'd like to create a new external file for custom message to show a message.

This message will show when datasource is empty.

This is a message for: data-no-data-template="NoDataFoundTemplate"

I have created a new file:"kendo.message-noDataCustomMessage" .

this is my file:

/* <Widget-name> messages */

if (kendo.ui.<Widget-name>) {
kendo.ui.<Widget-name>.prototype.options.messages =
$.extend(true, kendo.ui.<Widget-name>.prototype.options.messages,{
  "<message-name>": "<translation",
  noDataFound:"Nessun Elemento Trovato"
  //...
});
}

 

 

Ivan Danchev
Telerik team
 answered on 05 Oct 2017
7 answers
917 views

Hi,

I using the Kendo Multiselect with grouping option.  I have to show the items in the order in which I received them.  When I apply the group, the order is altered.

See the example  http://dojo.telerik.com/uNaQu.

In this example, Maria Anders is the first name of the non-grouped list.  Yet she is the second name in the group "Germany" in the grouped list.  

The order should remain the same, but this is not what happens.

 

 

 

 

 

Nencho
Telerik team
 answered on 05 Oct 2017
1 answer
891 views

Hello

One of my columns bound to a DateTime field of my model (all culture settings and js files are included, I guess not this one is the problem).

.Columns(columns=>columns.Bound(c=>c.SomeDateField).Format("{0: yyyy.MM.dd. HH:mm}";)

Showing the date is perfect: looks like '2017.10.03. 15:05'. The problem is when I click the Edit button (I have a command column too with InLIne edit). It is automatically converted to:

Tue Oct 03 2017 15:05:58 GMT+0200 (Central European Summer Time)

Yes, with this long text. It's not really userfriendly either to edit this cell or create a new row with this kind of cell...

Is it possible to use here some kind of datetime picker? I have also a numerictextbox field, that's so nice: I can only enter numbers or use the step-up and step-down buttons. :)

Thank you

Stefan
Telerik team
 answered on 05 Oct 2017
1 answer
984 views

Hi!

Is there any way to disable a command.Edit() or a command.Destroy() button? I don't want to hide them, the user should see there's an option for both functions, but I want to disable them depending on the @User.IsInRole("RoleName") status. I tried several ways: using Javascript and adding k-state-disabled class will make them disabled-look but they are still clickable. I also tried this way:

.Columns(columns => columns.Command(command=>{command.Edit().HtmlAttributes(new {@class = @User.IsInRole("RoleName") ? "k-state-disabled" : ""});

...

but same result as Javascript result: stays clickable but they are grayed out.

Thanks for your help

Stefan
Telerik team
 answered on 05 Oct 2017
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
Application
Map
Drag and Drop
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
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
ScrollView
Switch
TextArea
BulletChart
Licensing
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
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
ContextMenu
TimePicker
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?