Telerik Forums
Kendo UI for jQuery Forum
1 answer
244 views
Hello! I'm using the Editor with a button to display the ImageBrowser component.

My API will return a Bad Request status code whenever the image is too large or somehow invalid to be uploaded.

I wasn't able to customize the error message displayed. Also, even though the request returns with an error, the item is displayed within the Image Browser with the loading icon.

I checked and even on the demos this is happening.

How can I have the image browser to not display items when the request (to upload) return with an error and also customize how the error message is displayed? (ie, display the string content returned by the server without prepending content to the string as the default behavior).

Thanks for helping.
Alexander Popov
Telerik team
 answered on 03 Sep 2015
2 answers
435 views

Hi, i want to do something like this in typescript:

class ViewModel extends kendo.data.ObservableObject {
    constructor(values) {
        super(values);
        super.init(this);
    }
    get property1() { return super.get('property1'); }
    set property1(value) { super.set('property1', value); }
}

and use like so

var vm = new ViewModel({property1: 'default value'});
kendo.bind($("#something"), vm);
vm.property1 = 'updated value';

 

The problem i have is that in the ViewModel class, the get/set methods lead me to a stack overflow situation when the object is bound. 
The call to super.get('property1')  winds up calling an expression method that looks like  d.property1  which winds up back in my call to the getter for property1, and around and around we go.

Any way around this?  Basically, what i want is an ObservableObject that has the various bound properties expressed as get/set members that can be validated at design time, without have to use the ObservableObject's get/set  methods that use the property name as an argument.

Make sense?  
Any suggestions?

Thanks.

roger
​

 

 

 

Roger
Top achievements
Rank 1
 answered on 02 Sep 2015
13 answers
642 views

Hi,


We are using a pie chart in our mobile app. While the chart itself looks great, once we add labels to it the result does not fit to the mobile screen. This is obvious since we have long labels.


So we tried to set the chartArea width to be smaller, hoping that by this the pie itself will be smaller and more space will be available to the series labels. However as we found out, changing the width resulted with the labels being truncated according to the allocated space. We looked for an attribute to set the overflow of the labels so it will not be hidden but did not find such. We also tried to change the rendered svg overflow from hidden to visible but again it did not work and the labels remain truncated.

An example of our trial is available in the following dojo: http://dojo.telerik.com/OTOlu/2

Even though you can see it in "Web", the problem will be better understood when setting the dojo platform to "iOS 7".

Can you advise us how we can get the labels completely visible in this case?

 

Thanks,

 

Ron.

 
Ron
Top achievements
Rank 1
Veteran
 answered on 02 Sep 2015
1 answer
138 views

Need to know if Select All Check box feature is available in Kendo grid.

By below thread of 2013, i got clarity like that feature is not available.

http://www.telerik.com/forums/-select-all-checkbox-inside-the-kendo-grid---not-working 

 But just want to know if any option still exists.

 

 

Dimiter Madjarov
Telerik team
 answered on 02 Sep 2015
8 answers
329 views

Hello,

I'm using the scheduler component (2015.1.408, option mobile st to true) within a cordova android project. The app is running fine except that creating and editing events (trough tapping on the respective areas within the control) doesn't work as expected. Tapping seems only to work "occasionally" - i.e. I need to tap several times to open the event editor. This behaviour seems to be some sort of general problem as the scheduler demos show the same behaviour.

Am I missing something or is this a known issue?

Any workarounds?

 

Many thanks in advance for all comments.

 

Regards,

Chris

Jacob
Top achievements
Rank 1
 answered on 02 Sep 2015
10 answers
3.5K+ views

Hi there,

 I need a hand on how to achieve this.  I have a page with a dynamically loaded treeview working fine on the left, and content on the right based on the tree view node that has been clicked.  When the content on the right is saved, it needs to reload both that content and the treeview - because the treeview might change based on the right content save.  I'm doing a full page reload, passing through the selected treeview node ID in the URL.

On reloading, I need the selected ID node to be selected still (this is working fine), but also I need :-
- the treeview to be expanded down to that node so that the selected node is visible to the user
- to trigger the click even of that node such that the content on the right is reloaded from that event as currently

How can I achieve this?  I can't find any loaded/rendered event to work with (I tried the page document.ready event but the treeview isn't available to the DOM at that point so threw an error, and also the dataBound event of the treeview but that didn't seem to trigger either, it just did nothing).

Any help would be appreciated.

Thanks, Mark

Mark
Top achievements
Rank 1
 answered on 02 Sep 2015
2 answers
109 views

I'm consuming an OData source with two main routes: /odata/Transactions to get an overview and /odata/Transactions(ID) to get additional details. I put the overview data into a grid, and have a command in that grid to open a kendo window for details which should populate from the single entity route. *

I'm trying to solve this by using two datasources:

  • viewModel.Transactions loads the overview as normal for DataSource and works well so far.
  • viewModel.SelectedTransaction loads from an url computed from viewModel.selectedID. It has the same schema as Transactions except adding a few fields and using schema.data to wrap single objects in an array.
  • The grid command sets viewModel.SelectedID
  • A listener function is bound to SelectedID's "change" event to trigger viewmodel.SelectedTransaction.read(), since transport.url doesn't seem to work as a computed field that triggers directly.

When I use the command button what currently happens is

  1. SelectedID changes.
  2. SelectedTransaction is triggered to read().
  3. The URL function is called and returns the correct URL.
  4. An XHR goes out and a response comes back with appropriate OData JSON for the selected transaction.
  5. This message seems to then be dropped with no processing. Breakpoints in the datasource configuration's schema.data, schema.parse or errors are never hit. No exceptions are thrown.

I'm trying to find out why the OData response seems to go unprocessed. Any help is appreciated.

 

*: This is because the underlying data sources are maintained by different services. To get the extra details requires joining in tables in another database, and which database that is can vary between transactions. We would rather do this one at a time, when we know the user wants those details.

Terje
Top achievements
Rank 1
 answered on 02 Sep 2015
1 answer
469 views
Is there a way th have radioButton in treeview?
Plamen Lazarov
Telerik team
 answered on 02 Sep 2015
1 answer
121 views

Hi,

 I have a vanilla editor which does not render the toolbar correctly;

 

<textarea kendo-editor ></textarea>

 

Any ideas why this is? 

Thanks,

George

Iliana Dyankova
Telerik team
 answered on 02 Sep 2015
1 answer
82 views

Hi

Is it possible to create a column chart with more than one navigator?

if you need to compare data values from two ranges in one chart how would I go about implementing this?

 

Any help or pointers would be appreciated

 

Thank you

Iliana Dyankova
Telerik team
 answered on 02 Sep 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?