Telerik Forums
Kendo UI for jQuery Forum
1 answer
451 views

I'm attempting to use the Kendo UI DataSourceResult with my Kendo UI Grid using the code found here.

I'm not using ASP.NET MVC, but rather VB.NET with ASP.NET Web Forms and Web API on the backend. I understand how the DataSourceResult object works, however I'm having trouble figuring out the lines of code at lines 19-21. Here is the code in C#:

DataSourceRequest request = JsonConvert.DeserializeObject<DataSourceRequest>(
// The request is in the format GET api/products?{take:10,skip:0} and ParseQueryString treats it as a key without value
requestMessage.RequestUri.ParseQueryString().GetKey(0));

and the code equivalent in VB.NET:

' The request is in the format GET api/products?{take:10,skip:0} and ParseQueryString treats it as a key without value
Dim request As DataSourceRequest = JsonConvert.DeserializeObject(Of DataSourceRequest)(requestMessage.RequestUri.ParseQueryString().GetKey(0))

Whenever I execute the code I get a System.ArgumentOutOfRangeException. Debugging the code the requestMessage.RequestUri.ParseQueryString().GetKey(0) returns "take" which is what I'd expect, as that's the key of the first parameter. Using Fiddle I can see that the Grid sends the RequestUri of "http://localhost:53786/api/object/4?take=20&skip=0&page=1&pageSize=20". What do I need to do to get the code working correctly with my Grid and API?

Rosen
Telerik team
 answered on 01 Aug 2016
1 answer
143 views
When using the Office 365 theme with AutoComplete (the same goes for MultiSelect) appears to be 'broken'. As a matter of fact it actually the navigation itself does work, but the currently selected item does not get highlighted when navigating throught the item popup. 
Georgi Krustev
Telerik team
 answered on 01 Aug 2016
3 answers
292 views
I am using two date picker, on selection of first it should change date of second date picker based on min and max
the problem is until I select first picker,second date picker is displaying with disabled state and hiding date glypcon
This was working fine until the version  "kendo ui 2015 q2"
Here is the working example with kendo ui 2015 Q2 

 

after updating to kendo ui 2015 Q2 to higher versions,
I'm facing issue as specified above
here is  the example .

Please help us to fix this issues


Kiril Nikolov
Telerik team
 answered on 01 Aug 2016
3 answers
316 views

http://stackoverflow.com/questions/38478493/cannot-read-property-wrapper-of-undefined-with-kendo-angular.

 

Note: why wrapper undefined error in kendo.

T. Tsonev
Telerik team
 answered on 29 Jul 2016
2 answers
414 views

When scrolling the grid horizontally with the arrow on the sides, the movement is very slow. On longer column or more rows, it slows down even more.  Whereas While moving by dragging the slider with the mouse, it moves fine.

 

Kindly provide me with a solution to fix this horizontal scroll issue.

Sana
Top achievements
Rank 1
 answered on 29 Jul 2016
2 answers
179 views

I'm trying to streamline the template information on my barchart. It is just not displaying the information I would like it to relay to the user in a streamline fashion. I have a demo at http://dojo.telerik.com/@dhighfield/AFEbu/2. I'm trying to have it display something similar to the included png files. I do not want the template to display items that have zero values associated with it. I also am trying to remove that top Code information and replace it with the Code Description. I've tried series and category and other implementations and this is probably the closest I ever got to what I am looking for. Can this be accomplished?

As always thank you for your time.

David
Top achievements
Rank 1
 answered on 29 Jul 2016
3 answers
1.0K+ views
I am trying to filter on a value in a child array of an object using server side filtering 

I have an object like:

public class person{
     public int id {get; set;}
 public List<int> accountIdList {get; set;}    <br>
}


On a grid I generate a custom filter template which allows a user to filter by Accounts (e.g a dropdown list of accounts).  
The datasourcerequest object on the server is populated with a filter.  I want to be able to intercept the filter and change the filter from an equals
to a contains

I've done the following

private DataSourceRequest InterceptRequest(DataSourceRequest request)
        {
            for (int idx = 0; idx < request.Filters; idx++)
            {
                var flt = filterList[idx] as FilterDescriptor;
                if (flt != null && flt.Member.ToString().Equals("accountIdList"))
                {
                    flt.Operator = FilterOperator.Contains;
                    flt.Value = 1;   //Hardcode as an example
                }
            }
        }

However when I call ToDataSourceResult I get an error stating an invalid cast from Int32 to IEnumerable<Int32>

I want to get a list of all persons who have an Account Id of 1.  How can I achieve this?
Stefan
Telerik team
 answered on 29 Jul 2016
3 answers
79 views

Sample: http://demos.telerik.com/kendo-ui/m/index#mobile-view/zoomable

If you view the above link in IE11 maximized at a high resolution (such as 1080p or 4K), the touch-based zooming and scrolling will not work like other browsers. Is there a workaround for this, or is this not supported in an older browser like IE11?

Petyo
Telerik team
 answered on 29 Jul 2016
4 answers
193 views

Hi
I have problem with kendo.drawing.exportImage. When I call kendo.drawing.exportImage occur error "Uncaught RangeError: Maximum call stack size exceeded". 
When I Export to PDF ? every thing is OK. 
I made example with this problem https://jsfiddle.net/j23yj7yx/. Please check this issue.

Regards
Peter

Peter
Top achievements
Rank 1
 answered on 29 Jul 2016
1 answer
399 views

Hi,

 

I am using Hierarchical Grid with checkbox. I want to check all child records when parent row.

From parent Grid, I got checked employeeID and then retrieving the child grid.

       var childGrid= $("#childGrid"+employeeID).data("kendoGrid");
       var checkboxItems=childGrid.items().filter(":has(input:checkbox)");

       $(checkboxItems).prop('checked',"checked");

 

But its not working. Appreciate any help.

 

Regards,

Sanjay

Dimiter Madjarov
Telerik team
 answered on 29 Jul 2016
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?