Telerik Forums
Kendo UI for jQuery Forum
6 answers
353 views
hi.
I found the splitter's  resize event is activated before the pane's size change. but I want  resize event activated  after pane's size changed, how?
Thanks.


Dimo
Telerik team
 answered on 19 Dec 2013
2 answers
500 views
Hi Team,
I have been observing that "Change" is the event that is called either when the datasource is populated or when a filtering happens on the grid.
i would like to identify these two actions separately. How's that possible with Kendo grid !
Infact, it would be happy to not call the "Change" event on filtering.

Looking for answers on this. Thanks in advance for the replies.
Vladimir Iliev
Telerik team
 answered on 19 Dec 2013
3 answers
118 views
I've set up a project following the KendoUI Mobile Music Store example and am having trouble binding my data to the model.

I've used the source code that is available on Github and can't seem to figure out how the DataSource is being populated without ever doing a DataSource.read();

The example I give below is my take on the example, but you could check out the artists-view.js to see the same.

Okay, the view javascript:
define(["kendo", "app/data"], function (kendo, data) {
 
    return {
        viewModel: kendo.observable({
            myData: data.myData
        })
    }
});
The relevant bits of the data class:
define(["jQuery", "kendo", "app/environment", "app/utils"], function ($, kendo, config, utils) {
    var DataSourceConfig = function (url, sortField, options) {
        this.transport = {
            read:
                {
                    url: url,
                    dataType: 'jsonp',
                }
        }
        this.sort = {
            field: sortField,
            dir: "asc"
        };
        $.extend(this, options || {});
    };
 
    DataSourceConfig.prototype = {
        type: "GET",
        requestStart: function () { if (this.pageSize() === undefined || this.page() === 1) { utils.showLoading(); } }, //infinite scrolling has its own, less obtrusive indicator
        requestEnd: function () { utils.hideLoading(); },
        error: function () { utils.hideLoading(); utils.showError("There was an error loading the data from the server. Please close the app and try again."); }
    };
 
    return {
        clear: function (dataSource) {
            dataSource.view().splice(0, dataSource.view().length);
        },
 
        myData: new kendo.data.DataSource(new DataSourceConfig(config.myDataUrl)),
    };
});
Now, this all works (sort-of) fine, but the datasource is never populated, and I feel like that is because the read() is never called.  How is this working in the example?
Alexander Valchev
Telerik team
 answered on 19 Dec 2013
1 answer
112 views
Hello,

we've got a point that our validation works, but it errors when finding the elements on the forms in order to show the messages.

as far as we see, finding (jquery .find() ) elements with a data- attribute causes a jquery Sizzle.error to be thrown.

I've attached some screenshots.

What can we do to resolve this ?

Thank you for a quick response.

Greetings

kendo mvc version v2013.2.716 
Petur Subev
Telerik team
 answered on 19 Dec 2013
2 answers
90 views
For example if I have
          object1, object2 and object3
These can only be dropped in Zone1

Then I have
   object4, object5 and object6
These can only be dropped in Zone2

how could I configure this?

Also I would like object 7 to be allowed to drop in either Zone1 or Zone2 but not Zone3
Dimo
Telerik team
 answered on 19 Dec 2013
1 answer
76 views
Hello,
could you advice me how to achieve following thing:
1. Let's assume I have list of objects with: Property1,Property2,Property3,Other
2. I can bind normaly Property1,Property2,Property3 to grid and it will be properly displayed.
3. Other property is in fact list of pairs

I would like to display all elements of that list in grid details. Could you tell me how to define such template? I know how to assign one value, e.g:
<label>#= Address #</label>
But how to bind many elements?

Best Regard
Marcin
Petur Subev
Telerik team
 answered on 19 Dec 2013
1 answer
277 views
Hi Support Team,

We have WPF client application with MS C#. Is possible to call Kendo UI Windows from WPF? If yes, can you give me a sample? 
BTW, we bought Kendo UI Web Complete license version. 

Thanks & Regards,
Petur Subev
Telerik team
 answered on 19 Dec 2013
1 answer
152 views
Hi Kendo Team,
We have a requirement where we need to dynamically create charts based on data on the same page currently we developing in Asp.net MVC. We have attached a sample requirement image of widgets where each widget contains a chart and some options for the user to change the chart settings like  chart type and date range etc.


Thanks
Vinay
Petur Subev
Telerik team
 answered on 19 Dec 2013
1 answer
147 views
Hello,

We are currently trying to slowly upgrade from Telerik ASP.NET controls to Kendo UI and MVC within our web forms application but ran into a problem with the Kendo Window and asp.net controls - specifically a textbox.

What is happening is whenever we have an asp:Textbox inside a div that has been transformed into a kendo window via $(".window").kendoWindow(), if we click an asp:LinkButton with an onclick event that is also within that window, the value on the textbox always comes back as "". When I remove the $(".window").kendoWindow() line, everything works fine.

We were able to reproduce this in isolation and I'm attaching the project file. Can someone help us figure out whats going on and why textboxes inside windows lose their value?

If you breakpoint inside the btnTest1_Click method after having opened the modal and typed in the Test1 text box and clicked Submit Test 1, you'll see that txtTest1 has lost its value. Why?
Dimo
Telerik team
 answered on 19 Dec 2013
1 answer
114 views
In my app, I have a list of people that loads the first 50 when you navigate to the view.  When you first navigate, the app.showLoading() method is called.  If you click or tap anywhere on the screen during the loading process it errors out saying:

Error: Uncaught TypeError: Cannot read property 'top' of undefined

Url: http://localhost:5555/assets/js/kendo.all.min.js

Line #: 46

Is there any way to prevent the kendo showLoading method from throwing this error?  Should I just handle the error by hiding it instead?  It seems that even though it errors, if you close the error window, all the data still has been loaded properly.
Alexander Valchev
Telerik team
 answered on 19 Dec 2013
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
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
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
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?