Telerik Forums
Kendo UI for jQuery Forum
1 answer
656 views
I have a paramaterMap and a datasource filter defined as below and they almost work as needed but is failing to properly form the query string parameter for the filter on a read operation.  

When I remove the parameter map, it works fine and resolves the filter in the query string as &$filter=UserRoleId eq 3.  
With the parameterMap in place, it resolves as &filter[logic]=and&filter[filters][0][field]=UserRoleId&filter[filters][0][operator]=eq&filter[filters][0][value]=3. This becomes 4 junk parameters and while this doesn't throw any errors, my odata controller does not filter when params like this are passed.

How do I get the parameterMap to return a query param of "$filter:UserRoleId eq 3" instead of the 4 junk parameters described above?

                            parameterMap: function (data, operation) {
                                if (operation !== "read" && data) {
                                    data.UserRoleId = userRoleId;
                                    if (operation !== "destroy") {
                                        data.ConstraintValueId = $('#ddlConstraintValue').val();
                                        data.ConstraintValue = null;
                                    }
                                    return kendo.stringify(data);
                                }
                                else
                                    if (operation === "read" && data)
                                        return data;

                            }
                         .
                         .
                         .    
                        serverPaging: true,
                        serverFiltering: true,
                        serverSorting: true,
                        selectable: true,
                        filter: { field: "UserRoleId", operator: "eq", value: userRoleId },

Rosen
Telerik team
 answered on 08 Dec 2014
5 answers
132 views
 Am investigating the pivot grid and noticed that there is a missing help files (http://docs.telerik.com/kendo-ui/web/pivotgrid/configuratorfiles) the following page seems incomplete (http://docs.telerik.com/kendo-ui/aspnet-mvc/helpers/pivotgrid/overview)

Will these be fixed soon or at least are there any further details on how to set up the configurator?

Regards
Georgi Krustev
Telerik team
 answered on 08 Dec 2014
8 answers
180 views
Hello!
There is a problem with the control ScrollView on phones Samsung Galaxy 3. Scroll through the pages or does not work or is triggered after the second or third time.
In the debugger when an attempt is turning the message:
11-28 18:27:18.125 V/WebViewInputDispatcher(21253): blockWebkitDraw
11-28 18:27:18.125 V/WebViewInputDispatcher(21253): blockWebkitDraw lockedfalse
11-28 18:27:21.615 V/WebViewInputDispatcher(21253): blockWebkitDraw
11-28 18:27:21.615 V/WebViewInputDispatcher(21253): blockWebkitDraw lockedfalse
11-28 18:27:23.235 V/WebViewInputDispatcher(21253): blockWebkitDraw
11-28 18:27:23.235 V/WebViewInputDispatcher(21253): blockWebkitDraw lockedfalse
11-28 18:27:24.390 V/WebViewInputDispatcher(21253): blockWebkitDraw
11-28 18:27:24.390 V/WebViewInputDispatcher(21253): blockWebkitDraw lockedfalse
11-28 18:27:25.010 V/WebViewInputDispatcher(21253): blockWebkitDraw
11-28 18:27:25.010 V/WebViewInputDispatcher(21253): blockWebkitDraw lockedfalse

Help solve this problem.
Thanks in advance.
Kiril Nikolov
Telerik team
 answered on 08 Dec 2014
1 answer
140 views
Hey everyone,


I'm migrating from KO.js where knockout is able to parse the DOM when you add the view model to the element. However, I love how Kendo MVVM uses templates using script tags, almost in a backbone fashion. I was  watching the tech chat from July 24, 2013 on YouTube and they mentioned using the !text plugin from Require.js to load the script tags to the DOM. My question is, is this a good practice and what are the performance gains of adding the templates after the DOM loads compared to downloading them on the initial request? I realize that this may be more of a Require question, but I'm hoping that you can help in identifying the best practices. The application I'm working on now has about 200 templates. I'm showing a landing page while kendo and my other libs download, and some initial ajax calls are processed using nested require calls. My concern is that by loading the templates after the DOM loads adds an additional layer of complexity and could potentially cause the app to fail to load. Is the extra added error handling worth any possible performance gains? Maybe this is an old school concern, but as a trained network engineer, I would rather make the least amount of calls as possible.

Any help is greatly appreciated.

--Matt B
Petyo
Telerik team
 answered on 08 Dec 2014
3 answers
1.3K+ views
Hi,

I am using Kendo UI file upload along with angular js and asp.net mvc, how can i reset the file upload and the list of file from UI after a successful upload. Since i am using angular i don't want to use $('elemnt id') , is there a event which i can hook up?

Dimiter Madjarov
Telerik team
 answered on 08 Dec 2014
2 answers
147 views
Hi,

I have a line chart (but same problem occurs on area chart) where the highlighted markers goes over the left axis. However, as you can see on the screenshot, it seems that the left axis is drawn after the marker,hence resulting in an ugly visual glitch. How can I change the z-index so that the marker is drawn after?

Thanks
Iliana Dyankova
Telerik team
 answered on 08 Dec 2014
1 answer
176 views
we did a few tests

when the Kendo Upload is displayed in a modal DIV
clicking that button will not trigger a "browse file" window 

how should i solve this case?
Dimiter Madjarov
Telerik team
 answered on 08 Dec 2014
1 answer
101 views
on version 2014.2.1008, I have the following simplified model definition:

var MyModel = kendo.data.Model.define({
    id: "MyModelID",
 
    // events
    change: function (e) {
        // do smth here
    },
 
    set: function (field, value) {
        // do smth here
    }
}

while the set event is being triggered as expected, the change event does not.
however, it does trigger when i define it outside of the definition scope as follows:

myModel = new MyModel(obj);
myModel.bind("change", function (e) {
    //do smth here
});

I'm trying to keep the logic of models grouped together, and that's why i'd rather use the first implementation. any solutions for this?
Petyo
Telerik team
 answered on 08 Dec 2014
1 answer
111 views
What happened to Kendo UI Bootstrapper tool? I can't find any new versions of it.
Sebastian
Telerik team
 answered on 08 Dec 2014
1 answer
82 views
Hello guys,

I'm implementing a grid with filter row mode.
What I need, is to catch what is in the filters to use them directly on my DB instead only on the grid data.
The problem is that I can't find the filters informatinon anywhere.

Can I change the datasource just for my filters search?
How can I can find the data of my filters?

Best regards, 
Ricardo Ferreira.
Kiril Nikolov
Telerik team
 answered on 08 Dec 2014
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?