Telerik Forums
Kendo UI for jQuery Forum
1 answer
171 views
I can databind the grid to using DataSourceResult and HTTPGET no problems, the additional paramets are sent using querystring and readable through my WEB API controller.

My questions is can you/anyone provide an example of using HTTPOST and sending complex types as parameters?

How do you get around setting [FromBody] on the complex type yet still use the example below for HTTP model binder:



public DataSourceResult Method([ModelBinder(typeof(Imagine.Mvc.ModelBinders.KendoDataSourceRequestModelBinder))] DataSourceRequest request, 
            ComplexType object)
        {
            
        }
Nikolay Rusev
Telerik team
 answered on 20 Aug 2013
3 answers
256 views
I have pie chart that displays user data for all sites.  I want to be able to create another pie chart for only one site depending on the item clicked within the existing pie chart.  When I try to do that, however, I'm only able to load an empty bar chart, which ends up replacing the existing pie chart..

My code looks like this:


  <div id="chart" style="width:50%;"></div>
   <script>
       function createChart() {
           $("#chart").kendoChart({
               dataSource: {
                   transport: {
                       read: {
                           url: "getUserCountsBySite.admin?=siteId" + siteId,
                           dataType: "json"
                       }
                   },                            
               },

            title: {
               position: "top",
               text: "User Distribution by Site"
           },
           chartArea: {
               background: ""
           },                 
               seriesDefaults: {
               
                        type: "pie",
                        labels: {
                     visible: true,
                     template: "#= category # - #= kendo.format('{0:P}', percentage)#"
           }
        },                   
               
               series: [{
                           startAngle: 150,
                            field: "userCount",
                            categoryField: "description",
                          explodeField: "userCount"
                                   
               }],
               
               tooltip: {
                   visible: true,
                   format: "N0",
                   template: "#= category # - #= kendo.format('{0:P}', percentage)#"
               },
               
                seriesClick: onSeriesClick          
           });
       }
   function getDistributionBySubs(siteId) {
             $.ajax({
           type: "GET",
           url: "getUserCountsBySubscription.admin?siteId=" + siteId,
           success: function(response) {
                               
                     $("#chart").kendoChart();

}
 });
}
       function onSeriesClick(e) {
           console.log(kendo.format("Series click :: {0} ({1}): {2}",
               e.series.name, e.category, e.value));
               getDistributionBySubs(siteId);
               
               
       }
   
       $(document).ready(createChart);
 
   </script>
</div>   
Hristo Germanov
Telerik team
 answered on 20 Aug 2013
1 answer
135 views
Using the following example project for a multi-select in a Grid:
http://www.kendoui.com/code-library/permalink/boByv66aG2OF1P8AAFTdxQ

Failure steps
  1. Run the project as-is.
  2. Edit any grid line.
  3. Add a Territory by typing the first few letters and pressing enter to select the highlighted item.
  4. Save the grid line

Issue

In the Update action, the ModelState is not valid and the Territories list in the EmployeeViewModel has null entries for the first X items (equivalent the the number of items existing before the update). The data POSTed from the grid seems to be inconsistent. New items are posted as TerritoryViewModel-type objects but the existing items are posted as the value (id) only.

Note
Adding at least one item by clicking with the mouse magically resolves this issue and all items are posted as complete objects.
Georgi Krustev
Telerik team
 answered on 20 Aug 2013
1 answer
207 views
How to customize ASP.NET MVC autocomplete control to display the results as table format?

This feature is available in ASP.NET AJAX combobox.

Thanks,
Praba
Georgi Krustev
Telerik team
 answered on 20 Aug 2013
1 answer
475 views
Latest internal build 2013.2.819 has a black overlay on modal window. It seems to have overlay opacity set to 1 instead of the default .5
Is this a bug or a new feature where we need to set the default opacity on the overlay of modal window?
I'm running Firefox 23.0.1 browser.

Thanks.
Kiril Nikolov
Telerik team
 answered on 20 Aug 2013
3 answers
164 views
Hi,

Am using MVC4 project and followed the instructions given on this link. It works fine while debug flag is set to true in the web.config file. Which means that bundling and minification is disabled.

when debug flag is set to false, bundling and minification is enabled, then kendo spinner (kendo.ui.progress) doesn't load. Not sure if am missing something. Could someone please advise.

Thanks,
Sai
sai
Top achievements
Rank 1
 answered on 20 Aug 2013
3 answers
124 views
As per the title, is this posisble? Can the Telerik RadComboBox be successfully used with KendoUIMobile

I tested this and the Mobile Views do not appear on the page

Thanks
Alexander Valchev
Telerik team
 answered on 20 Aug 2013
1 answer
146 views
Hi!
I'm using 'Content' option of Kendo Window go get a page with iframe. It takes a lot of time to let the iframe be loaded.
Is there any way to abort window content loading request when, for example, user closes the window?
Thanks!
Petur Subev
Telerik team
 answered on 20 Aug 2013
4 answers
432 views
I have a filterable column grid with a datepicker:
 
$("#myGrid").kendoGrid({
...
...
field: "myDate",
...
filterable: {
ui: "datepicker"
},
...

Works great. But I will like to preselect the dropdown operator (equal, greater or equal, etc..) based on some criteria, before displaying to the user.
Which event can I use to do that?.
I know I can change some options like the text:

var filterMenuForMyDate = $("#MyGrid").data("kendoGrid").thead.find("th:contains('myDate')").data("kendoFilterMenu");
filterMenuForExportedUTC.options.messages.info = 'My customized text';
..
but I can't find a way to force the operator dropdown to preselect a value before displaying to the user (like a pre-render)
Is there a way to do this?

Dalia
Top achievements
Rank 1
 answered on 19 Aug 2013
7 answers
173 views
Hello,

I have used kendo calendar control in my application and it shows up improper dates. However, after selecting the date, it shows-up correctly in the associated text-box. Please refer attachment to have a better idea on the issue.

Kindly suggest any solution/am i missing something here?

Thanks.
Alexander Valchev
Telerik team
 answered on 19 Aug 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
Drag and Drop
Application
Map
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
LLM Kit
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?