Telerik Forums
Kendo UI for jQuery Forum
1 answer
300 views
I'm having problems when exporting value from textarea tag while on the iPad Safari. It overlaps some text but on the desktop and iPhone they work fine.
Nikolay
Telerik team
 answered on 06 Aug 2020
5 answers
729 views

I use 

        @(Html.Kendo().DropDownList()
              .Name("size")
              .BindTo(new List<string>() {
                  "S - 6 3/4\"",
                  "M - 7 1/4\"",
                  "L - 7 1/8\"",
                  "XL - 7 5/8\""
              })
              .HtmlAttributes(new { style = "width: 100%" })
              )

on Index page and it working

The same I use in dialog but unsuccesfully

Code of dialog:

    <div id="popup_assignAnOrder" style="display: none; z-index: 10; background-color: white; position: absolute; left: 0; top: 0; width: 100%; height: 100%"></div>
    <script>

        function click_assignAnOrder() {
            var grid = $("#grid").data("kendoGrid");
            var data = {
                selectedIds: Object.keys(grid._selectedIds)
            };
            $.ajax({
                type: "post",
                url: "/Grid/PopupAsignPrikazi",
                data: data,
                success: function (data) {
                    var dialog = document.getElementById("popup_assignAnOrder");
                    dialog.innerHTML = data;
                    $(dialog).show('fast');

 

action

        [HttpPost]
        public ActionResult PopupAsignPrikazi(string[] selectedIds)
        {
            ViewBag.Tip = _db.Prikazs.Select(p => new SelectListItem(){ Value = p.Tipp.Kod_tipp.ToString(), Text = p.Tipp.Tipp1 }).Distinct().ToList();
            ViewBag.Osnovanie = _db.Prikazs.Select(p => p.Osnovanie).Distinct().ToList();
            ViewBag.SelectedIds = selectedIds.Select(Int32.Parse);
            return PartialView("~/Views/Home/_PopupAddPrikazi.cshtml");
        }

 

 

Marin Bratanov
Telerik team
 answered on 06 Aug 2020
1 answer
120 views

when splitter moved to the right, Gantt's header's width was expanded,but  The  Width of Gantt's timeLine was not expanded.

I think your Gantt's timeLine's width is not Automatic calculated.

How can I solve this situation?

 

Ivan Danchev
Telerik team
 answered on 06 Aug 2020
1 answer
146 views
In angular10, we use your Gantt

we want to modify Gantt’s  dayHeaderTemplate In my own Customize Format Method。

but Google browser tell us my Customize Format Method was not defined.

How to solve this problem?
Petar
Telerik team
 answered on 06 Aug 2020
1 answer
122 views

In angular10, we use your Gantt

we want to modify Gantt’s  dayHeaderTemplate In my own Customize Format Method。

but Google browser tell us my Customize Format Method was not defined.

How to solve this problem?

Petar
Telerik team
 answered on 06 Aug 2020
2 answers
227 views
Cómo se establece el formato es-ES para una columna tipo numerico? Por ejemplo: 10,564.24 
He probado esto: 
<script src="/lib/Kendo/js/kendo.culture.es-ES.min.js"></script>
...
<script>
$(document).ready(function(){
        kendo.culture('es-ES');
        ...

//column
{field: "nameField", title: "titleField", locked: false, lockable: true,  width: 150, aggregates: ["min","max","average"], groupHeaderColumnTemplate: "Avg: #= kendo.toString(average, 'n0') #", groupFooterTemplate: "<div>Max: #= kendo.toString(max, 'n0') #</div><div>Min: #= kendo.toString(min, 'n0') #</div>"}
Martin
Telerik team
 answered on 05 Aug 2020
1 answer
190 views

Is there a way to check if the click event on a node had the control key? Unlike the drag/drop events where you can get the original event, I cannot see the same with the select event...

 

Matt

Ivan Danchev
Telerik team
 answered on 05 Aug 2020
5 answers
435 views
We want to have a formatted word document that is templated/mail merged.  It will be populated a main object with children objects. This would replace functionality currently done in SSRS but would allow our clients to create their own in Word. Ideally we would like certain parts of the word document to not display if there is no data. Is this possible to accomplish with Kendo?
Tanya
Telerik team
 answered on 05 Aug 2020
2 answers
522 views

Good day, 

P.S. Please keep in mind that I am still very new to KendoUI.

Scenario : I have a KendoGrid with 4 columns , being used as a form of a Checklist, So I have 2 columns containing the question and its category , then 2 columns  with a radio button group of answers , and a text field for notes (optional).

 

01.columns: [
02.              {
03.                  field: "Category",
04.                  title: "Category",
05.                  width: "150px"
06.              },
07.              {
08.                  field: "Task_Description",
09.                  title: "Task Description",
10.                  width: "300px"
11.              },
12.              {
13.                  field: "User_Answer",
14.                  title: "User Answer",
15.                  width: "150px",
16.                  template: templateFunction
17.              },
18.              {
19.                  field: "Item_Notes",
20.                  title: "Item Notes",
21.                  template: '# {# <input type="textbox" class="editableTextboxTemplate"        onchange="SaveAndProgress(this);" /> #} #',
22.                  width : "250px"
23.              }],

 

Goal : I want to be able to auto save the row upon selection of a answer on the radio Button group, and If the user adds a note , Save that too. I feel like its worth mentioning ,that I would eventually like to have the entire grid with answers in JSON format which I can pass to my controller.

Problem : I cant seem to call a row an have the values which have been selected in the radio button group to be inside the JSON string , nor the text from the text box.

Log after populating : {Category: "Supporting Documentation: ", Task_Description: "Question ", User_Answer: null , Item_notes: null, Id: 1, …}

Is it possible to achieve my goal in a simpler way, and am I complicating the situation?

Thanks for your time.

Plamen
Telerik team
 answered on 05 Aug 2020
1 answer
177 views
Hi.  When we lock a dropdownlist, it loses its tabindex.  I expected this, or I expected it to go negative.  However when you re-enable the control, it never gets a tabindex back.   The main issue is that I have kendo controls that are cascading off of each other.  the  cascading ones get disabled before their filter loads and then re-enabled.  this effectively means that none of our cascading controls can be tabbed to.  We had this issue reported to us by one of our clients.  I have implemented a hacky fix that uses jquery to put a tabindex=0 on the control again after cascading in the datasource request, but am hoping for a more "correct" solution.

Is there a way to prevent the empty controls from disabling?  I also can't explain why, but "some" of our cascading controls don't actually disable on first load but do after you change from the initial value of the top control and back to empty again.  
Petar
Telerik team
 answered on 05 Aug 2020
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
Date/Time Pickers
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)
SPA
Filter
Drawing API
Drawer (Mobile)
Globalization
Gauges
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
OrgChart
TextBox
Effects
Accessibility
ScrollView
PivotGridV2
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
Popover
DockManager
FloatingActionButton
TaskBoard
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?