Telerik Forums
Kendo UI for jQuery Forum
1 answer
446 views

Dear all,

I'm using Kendo UI for JQuery and would like to bind the following querystring (generated by default from the grid widget):

skip=0&page=1&filter[filters][0][value]=Rare Diseases&filter[filters][0][operator]=eq&filter[filters][0][field]=keyword1.keywordValue&filter[logic]=or

to this model of an ASP.NET Core 3.1 webapp:

 

public class FSP
{
    [JsonProperty("take")]
    public int Take { get; set; }
 
    [JsonProperty("skip")]
    public int Skip { get; set; }
 
    [JsonProperty("page")]
    public int Page { get; set; }
 
    [JsonProperty("pageSize")]
    public int PageSize { get; set; }
 
    [JsonProperty("filter")]
    public Dictionary<string,IEnumerable<Dictionary<string, string>>> Filter { get; set; }
}

 

All parameters of querystring are correctly mapped, except filter. Furthermore, I would like to avoid changing the querystring using the function transport.parameterMap.

Could you help me to find the error?

Thank you in advance.

Filippo

 

 

Georgi
Telerik team
 answered on 13 Jan 2021
1 answer
161 views

I noticed that if I take control of the grid view through the views.grid object of the FileManager and I enable filtering in the grid, there appear to be some issues

1. All filtering options seem to default to the text/string format instead of the format that should be defined in the model. The date created column for example, does not show a date picker.

2. The operators are missing.

Here is a link to an example I set up in the dojo: https://dojo.telerik.com/ACiDOsAs

Is this a bug or as intended, and am I missing anything to get filtering working?

 

Thanks.

Neli
Telerik team
 answered on 13 Jan 2021
4 answers
2.7K+ views
Hi,

I have a cascading dropdownlist,  and if the Item count for the dropdown getting populated is 1 I want to keep the item it default selected instead of showing OptionLabel and the item. Or else remove the Option label in that case. below of the my dropdown which gets populated on change of dropdown 'DeliveryDestinationID'. How do i do this.

@(Html.Kendo().DropDownList()
                                      .Name("DeliveryNameID")
                                      .HtmlAttributes(new { style = "width:235px" })
                                      .OptionLabel("Select Delivery Name...")
                                      
                                      .DataTextField("Text")
                                      .DataValueField("Value")
                                     .DataSource(source =>
                                      {
                                          source.Read(read =>
                                          {
                                              read.Action("GetDeliveryNames", "DeliveryQueue")
                                                  .Data("filterAsPerServiceProvider");
                                          })
                                          .ServerFiltering(true);
                                      })
                                      .Enable(false)
                                      .AutoBind(false)
                                      .CascadeFrom("DeliveryDestinationID")
                                    )



Neli
Telerik team
 answered on 13 Jan 2021
11 answers
1.9K+ views
Dear,

Would it be possible to change the row height of the scheduler when in week and day view?

We've already changed some CSS for the month view because we wanted to see more items per day:

 .k-scheduler-monthview td[role='gridcell'] { /* Makes the cells larger of the month view. */
        height: 150px !important;
    }

However we can't seem to find a similar solution for the day & week views. We're showing all 24 hours and we want to prevent our users from having to scroll down.

Does anyone have a solution for this?

Thanks in advance.

Regards,
Kenny
Dimitar
Telerik team
 answered on 13 Jan 2021
22 answers
1.4K+ views
Hello,

the current behaviour of Kendo Scheduler stands like this - you have to double-click to create / view / edit an event.

Is there a way how to change this to:

Single click selects a timeslot and next single click on that timeslots goes to the create screen. Thank you,

Jakub
Ivan Danchev
Telerik team
 answered on 12 Jan 2021
6 answers
199 views

Hi team !

Recently, animations on my tooltips (and some other components like windows) stopped working, and I can't manage to find why or how to fix it. This issue appeared on every pages. 

 

$(document).ready(function () {
        $("#gridHistoPeriodesRecueil").kendoTooltip({
            filter: ".k-grid-cmdModifier",
            content: "Modifier les dates de la période",
            animation: {
                open: {
                    effects: "fade:in",
                    duration: 1000
                }
            }
        });
 })

 

"gridHistoPeriodesRecueil" is my grid, "cmdModifier" my command. When I hover over the button, the tooltip appears, but without animation. I tried with other effects, with or without duration, on other pages, but it doesn't work anymore. 

 

I think I did something wrong that disabled every animations on my project, but I don't know what. Any idea ?

 

Thank you,

 

Valentin

Petar
Telerik team
 answered on 12 Jan 2021
1 answer
161 views
I need to disable resize option for 4 specific columns in kendo grid and rest of the other columns must be resizable. Is there any solution to disable only 4 specific columns in kendo grid?
Stoyan
Telerik team
 answered on 11 Jan 2021
1 answer
153 views

When importing data, we have a client that is using a spreadsheet link in their formula to grab data like so:

='H:\[OtherSheet.xls]Sheet1'!E3

(This other sheet does not exist in our system). When loading this into the Kendo spreadsheet via FromFile, we see the value [1]Sheet!E3 and the cell is highlighted red. This makes sense as we don't have the referenced sheet, but I noticed when we open the sheet in Excel, the cached value from for this cell exists and when using libraries like ExcelDataReader, we are able to parse out the actual cached value instead of looking for the sheet reference.

So how do we get the spreadsheet control to ignore the spreadsheet reference links and instead use the cached cell values that are already in the sheet?

Ivan Danchev
Telerik team
 answered on 11 Jan 2021
12 answers
1.5K+ views

Hi,

    I am using Kendo UI  controls for my MVC application. I am using "kendo.aspnetmvc.min.js" on my ASP.NET view.When my application is tested for Security issues by Burp(https://portswigger.net/burp/), the issue - "Open redirection (DOM-based)"  is reported into the kendo.aspnetmvc.min.js". The issue is reported because this js manipulates the URL as shown below. Please help me how we can resolve this security issue.

 

;i=location.search.replace(a,"").replace("?",""),i.length&&!/&$/.test(i)&&(i+="&"),t=this.setup(t,"read"),n=t.url,n.indexOf("?")>=0?(i=i.replace(/(.*?=.*?)&/g,function(e){return n.indexOf(e.substr(0,e.indexOf("=")))>=0?"":e}),n+="&"+i):n+="?"+i,n+=e.map(t.data,function(e,t){return t+"="+e}).join("&"),location.href=n

 

Thanks,

Alpesh.

(alpesh.chavda@allscripts.com)

Plamen
Telerik team
 answered on 11 Jan 2021
11 answers
615 views

We have a screen that includes 3 scheduler controls (previous, current, and next) with month-only views. Because these are all related, we need to have a change in the data for one be reflected in all three. I am sharing the dataSource between all of them because that way I don't need to query the database 3 times. Everything looks fine, except for the toolbar on top. Because each control has its own calendar, previous, and next buttons, the controls can be changed and get out of sync with the way we want them displayed. Also, we would prefer to show a title on them with the month and year rather than have a calendar control.

Is there any way to customize the toolbar? If so, how will the toolbar know which month is displayed? Is there a way to grab this piece of data? I am using AngularJS. 

Thanks!

Veselin Tsvetanov
Telerik team
 answered on 11 Jan 2021
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
+? 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?