Telerik Forums
Kendo UI for jQuery Forum
1 answer
115 views

I am using a multi select to display products a client have and want him/her to be able to select from all available products. The problem is, Only when I specify the collection of user's products in MultiSelectFor(m=>m.Products) and also .BindFor(Model.Products), only then I get the list of products selected in the multiselect. Bu I want MultiSelectFor(m=>m.Products) where products contains all user's products and when I call an action method, I want that property to contain the updated product list, i,e products currently selected in the Multiselect, i,e a user can remove or add to the products in the Products collection.

Georgi Krustev
Telerik team
 answered on 13 May 2015
1 answer
214 views

For a few reasons, we do not use the built in templates, we use our own modals.  This is working just fine, except for recurring events.  I can create them just fine, except for two issues:

 

1) if i create an event with an id, it throws an error

2) if i create without an id, it saves, but only the first instance is considered recurring, the rest show up, but are not considered recurring.

A simple dojo, i believe copied from an example here:

http://dojo.telerik.com/@TrikinCurt/atoZU

Vladimir Iliev
Telerik team
 answered on 13 May 2015
5 answers
582 views

Hi Guys

Sorry , new to this drag and drop stuff!

 

How do I get KendoDraggable for dragging just the column Header in a Grid?

 I found a fiddle  Original Fiddlefor dragging the table rows to a target.. the kendoDraggable is like this.

$("tr", grid.tbody).kendoDraggable({
  hint: function (e) {
    var item = $('<div class="k-grid k-widget" style="background-color: lightblue; color: black;"><table><tbody><tr>' + e.html() + '</tr></tbody></table></div>');
    return item;
  }
});

 

 Original Fiddle

 So I tried changing this to 

$("tr", grid.thead).kendoDraggable({
  hint: function (e) {
    var item = $('<div class="k-link" style="background-color: lightblue; color: black;"><table><thead><tr>' + e.html() + '</tr></thead></table></div>');
    return item;
  }

 

My Attempt Fiddle

But this drags all the text from all the Column headers.  I just want to know the column that they dragged to the target.

I'm not sure what data I can get on the drop.. text and maybe the column index or something?

 

Many thanks

 

Rob

Rob
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 12 May 2015
33 answers
227 views
Anyone using KendoUI mobile listview to build an app running on the three major device types? (iOS, Android, Windows Phone 8.x)

At the moment we are frustrated about the poor Windows Phone 8.x performance. The listview is pretty much unuseable. Terrible slow scrolling. No feedback on pressed rows an so on. 

We are using version of KendoUI. (2014.2.716)

The only device where it runs perfect is an iPhone. But if we only want to target iOS devices, we would go for a native application! ;-)
Constantinos Petridis
Top achievements
Rank 2
Iron
Iron
 answered on 12 May 2015
17 answers
718 views

Hi,

I was told to ask here. Enums seem not to be supported by kendo's datasource in conjunction with OData v4 and MVC.

E.g. if I have a nullable enum property on an entity, the following issues arise:

1) The grid won't display values for such types.

2) When editing or adding new records, the datasource becomes confused and sends always the value null to the server.

Workaround:

(told me by one of Telerik's supporters today)

a) Define as foreign key to a list of enum-name/display: E.g.: columns.ForeignKey(m => m.Gender, PickItemsHelper.ToSelectList<PersonGender>(includeNull: true, useNames: true));

b) Define as of type string in the schema -> model : model.Field("Gender", typeof(string));

 

This now works for (1) and (2). I consider this a temporary workaround for a non-implemented part of the OData v4 spec.

However, when applying the workaround an additional issue pops up:

3) When explicitly selecting the null value (i.e. when we have a nullable enum), the datasource now sends an empty string to the server, which rejects the request as invalid because it expects either an enum name or null.

 

Any clues how to work around issue (3)?

 

Best regards,

Kasimier Buchcik

Rosen
Telerik team
 answered on 12 May 2015
1 answer
122 views

I'm trying to work off the diagram sample app, it fits exactly what I need. However, what I need to do is add text to the shapes.

I'm having trouble figuring out how to add text to the shape objects as this is my first time using Kendo UI. Do I need to edit the kendo-all-min-js file or is this something I do on the html file?

 Any direction is much appreciated.

 

Thanks,

Daniel
Telerik team
 answered on 12 May 2015
1 answer
91 views

Hi.

I'm using "Drawing" API to generate PDF from HTML and I saw there are some limitations to use this API. Like the below.

"The content of the following elements is not rendered: <iframe>, <svg>, <input>, <textarea>, <select>." 

But I really need to render these elements above in PDF, actually need to generate PDF exactly the same UI as HTML has. so do you plan to support these elements in PDF or could you suggest any solution?

Thanks,

Jinseop.

Mihai
Telerik team
 answered on 12 May 2015
2 answers
102 views

Hello,

my grid uses a row template and now I want to activate the copy to excel feature. So, I set allowCopy to true, but when I copy some selected cells to an excel sheet, the values are not displayed in the correct cells (see the attached excel file).

Is it actually possible to use this feature with row templates?

Regards

Sebastian

Sebastian
Top achievements
Rank 1
 answered on 12 May 2015
1 answer
140 views

Hello,

 I knew there was "set" function for kendo.data.ObservableObject, it could change value of specified field.

But after this action, we need call "sync" method for data source manually, and sync action will fire some events/ data bound again.

Is there another method, that we only hope sync value of specified field, without fire events and data bound again?

Thank you.

Kiril Nikolov
Telerik team
 answered on 12 May 2015
3 answers
122 views

Hi, how can I get (by code) the state of some modalview? If it is opened or closed.

 

Regards.

 

Kiril Nikolov
Telerik team
 answered on 12 May 2015
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
Licensing
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
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?