Telerik Forums
Kendo UI for jQuery Forum
3 answers
126 views

Get gantt From Kendo UI Custom Download - 2020.2.617.

1. When installing the package "@progress/kendo-theme-bootstrap@4.18.0", the left tree and the grid on the right are detached. 
2. When installing the package "@progress/kendo-theme-bootstrap@4.17.0", the height of the progress bar on the right is not aligned. 

Please refer to the upload file.

Because it is urgent, please let us know if it can be repaired in a short time .

維国
Top achievements
Rank 1
Veteran
 answered on 04 Aug 2020
1 answer
3.2K+ views

I need a kendo confirm dialog that returns a value.

 

If OK button is clicked then i need to perform some actions.

If Cancel button is clicked then do nothing.

 

I have a kendodialog function already created with "OK" and "Cancel" button but it does not behave the way I expect it to behave.

I need the code to wait till the user selects a respoonse and not do any other processing till a user selects any input which would be the case for a normal javascript confirm dialog.

 

Any example demonstrating the same would be extremely helpful.

01.if (displayConfirmDialog("Do you want to continue ?")) {
02.              //  do something if function returns "TRUE"  i.e. the OK button is clicked
03.}
04. 
05.// Test function
06.function displayConfirmDialog(contentText) {
07.    var response = false;
08.    let dialogDiv = $('<div />').appendTo('body');
09.    dialogDiv.attr('id', 'displayDialog');
10.    $("#displayDialog").kendoDialog({
11.        width: "450px",
12.        closable: false,
13.        modal: true,
14.        content: "<p id = dialogContent>" + contentText + "</p>",
15.        buttonLayout: "normal",
16.        actions: [
17.            {
18.                text: "Ok",
19.                action: function (e) {
20.                    closeAndDestroyNotificationDialog(e.sender);
21.                    response = true;
22.                },
23.                primary: true
24.            },
25.            {
26.                text: "cancel",
27.                action: function (e) {
28.                    closeAndDestroyNotificationDialog(e.sender);
29.                }
30.            }
31.        ],
32.    })
33. 
34.    $(".k-window-titlebar").addClass("warningDialogTitleBar");
35.    $(".k-dialog-title").addClass("warningDialogTitle");
36. 
37.    return response;
38.}
Ivan Danchev
Telerik team
 answered on 03 Aug 2020
8 answers
964 views
I'm using the upload widget and have a problem receiving files server side in an mvc controller.

Javascript code:
 $("#file-upload").kendoUpload({
            async: {
                saveUrl: '@Url.Action("UploadFiles")',
                autoUpload: false
            },
            upload: function(e) {
            }
        });

Controller signature: public ActionResult UploadFiles(IEnumerable<HttpPostedFileBase> files)

When I debug into the controller method files is null. If I debug into the upload event on the widget I see that it contains the files. Looking at fiddler I also see that the data is sent to the server.



Martin
Telerik team
 answered on 03 Aug 2020
2 answers
544 views

Hi,

I'm having the same problem. I already check the name input matching the controller parameter, but still getting a null  IEnumerable<HttpPostedFileBase>. I'm out of new solutions, so any help will be appreciated.

Please, find my project in attach. I try via normal-save and chunck-mode, without sucess. 

Best regards, 

Leandro Alves

Martin
Telerik team
 answered on 03 Aug 2020
1 answer
299 views
I have a problem related to export to pdf in Gantt. When Gantt left side is expanded, and I export to pdf, everything is ok, and all columns are present in exported pdf (see expandedDip.png and expandedDipPdf.png). But when i collapsed it, some columns are not visible in exported pdf (see collapsedDip.png, collapsedDipPdf1.png  and collapsedDipPdf2.png). How can I solve this problem?  Can I apply scroll for example, or another solution for this?

Dimitar
Telerik team
 answered on 31 Jul 2020
2 answers
107 views

Hi, 

I have 3 duplicated posts,

https://www.telerik.com/forums/gantt-issue-related-to-export-to-pdfhi-i-have-a-problem-related-to-export-to-pdf-in-gantt-when-gantt-left-side-is-expanded-and-i-export-to-pdf-e

https://www.telerik.com/forums/gantt-issue-related-to-export-to-pdf

https://www.telerik.com/forums/gantt-issue-related-to-export-to-pdf-97829b38177a

 

but I can't delete them. i hope admin will delete first two posts. Thanks in advance.

Dimitar
Telerik team
 answered on 31 Jul 2020
2 answers
562 views

I want to reach selected item's index in the drawer widget. When I examine e.sender from console like this,

console.log(e.sender);

I can find updated value of e.sender._selectedItemIndex.

However, when I want to use e.sender._selectedItemIndex variable directly I get previous value of e.sender._selectedItemIndex. For example, If I open drawer for the first time and select an first item, from console I can see that e.sender's _selectedItemIndex variable is equal to 0 but console.log(e.sender._selectedItemIndex) prints undefined. When I select any other item from drawer, now console.log(e.sender._selectedItemIndex) prints 0. How can I reach and use e.sender._selectedItemIndex's updated value in itemClick function?

 

Deniz
Top achievements
Rank 1
Veteran
 answered on 31 Jul 2020
2 answers
169 views

Hi, I have a question for kendo textbox widget label. I would like to use label like value methods. However; labels are given only configuration. Are there any method that is working like value methods.

 

var textbox = $("#textbox").data("kendoTextBox");

textbox.value("VALUE"); // this is a example I want.

 

 

Thanks for helping.

Enes
Top achievements
Rank 1
 answered on 31 Jul 2020
5 answers
993 views

How do I unselect a selected event programmatically? I tried to call the select() method with an empty array input but it doesn't seem to unselect the events. Further, I see that the change event is invoked only once as opposed to twice in the Chrome console window.

Please see the below code snippet for an example.

http://dojo.telerik.com/Exiyo

Thanks in advance.

 

 

Ivan Danchev
Telerik team
 answered on 30 Jul 2020
2 answers
123 views

Hi, 

I have a problem related to dragging items in the left side of the gantt. In my case, there is restriction when to allow dragging and when not, and i want that icon to be different in different cases. for example to be block icon or plus. How I can do this?

Mariam
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 30 Jul 2020
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
Iron
Iron
Sergii
Top achievements
Rank 1
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
Iron
Iron
Sergii
Top achievements
Rank 1
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?