Telerik Forums
Kendo UI for jQuery Forum
4 answers
673 views

Hello,

 

When I set the url of the async to a cross domain site (Amazon S3 Bucket) and set autoupload to false, the upload button won't show up after selecting files.

Louise
Top achievements
Rank 1
 answered on 23 Nov 2016
2 answers
463 views

Hello,

how i do to set kendo ui date picker with number value (timeStamp) for example, k-ng-model="1477051763928".

 

it returns an error: TypeError: e.indexOf is not a function
    at ve.parseDate (http://127.0.0.1:8081/js/libs/telerik.kendoui/js/kendo.all.min.js:9:18925)
    at init._update (http://127.0.0.1:8081/js/libs/telerik.kendoui/js/kendo.all.min.js:22:10140)
    at init.value (http://127.0.0.1:8081/js/libs/telerik.kendoui/js/kendo.all.min.js:22:8916)
    at Object.<anonymous> (http://127.0.0.1:8081/js/libs/telerik.kendoui/js/kendo.all.min.js:66:1007)
    at init.n.(anonymous function) (http://127.0.0.1:8081/js/libs/telerik.kendoui/js/kendo.all.min.js:65:29859)
    at Object.d [as fn] (http://127.0.0.1:8081/js/libs/telerik.kendoui/js/kendo.all.min.js:65:26937)
    at n.$digest (http://127.0.0.1:8081/js/libs/angular/angular.min.js:124:114)
    at n.$apply (http://127.0.0.1:8081/js/libs/angular/angular.min.js:127:12)
    at l (http://127.0.0.1:8081/js/libs/angular/angular.min.js:81:195)
    at F (http://127.0.0.1:8081/js/libs/angular/angular.min.js:85:314)

 

Please, answer asap.

Jhony
Top achievements
Rank 1
 answered on 22 Nov 2016
5 answers
1.0K+ views

Hi, is it possible to have the Grid widget to use DataAnnotations when binding columns, in particular the DisplayFormat attribute and the the Display(ShortName) property?

I know that the GridBoundColumnBuilder has a Format method, but it would be better to avoid repeating information.

Also, when present, it would be preferable to use the ShortName property for the header in order to reduce column widths.

 

 

 

Konstantin Dikov
Telerik team
 answered on 22 Nov 2016
1 answer
145 views
Hi. I want to create something like i showed on screen. Idea is to pick item from "List of items" panel and drop it in Gantt. Additional thing is to connect that panel below to Gantt to be able to display for example pins in the start and end of each component like showed on screen. My question is how to perform this in the best way and which kendo components I could use. Thanks
Peter Milchev
Telerik team
 answered on 22 Nov 2016
8 answers
191 views
Hi,

I've noticed that security trimming doesn't work when there's another controller with the same name in another area. We have one extra area currently in use, named "Mobile".

We correctly have the namespaces set up for each route, so the actions work fine otherwise between areas. For example our default route looks like this:

routes.MapRoute(     
                "Default",
                "{controller}/{action}/{id}",
                new { controller = "Home", action = "Index", id = UrlParameter.Optional },
                new[] { "MvcApp.Controllers" } //namespace
            );

Example menu:

@(Html.Kendo().Menu()
    .Name("menu")
    .Items(menu => {
        menu.Add().Text("About").Action("About", "Home", new { area = "" });
    }))

Security trimming won't work, unless our Mobile area's HomeController also has that same action (About()). If it's not there, authorize attribute won't work for the menu.
Georgi Krustev
Telerik team
 answered on 22 Nov 2016
3 answers
198 views
When dragging and drop, the row is added as a child. Is there an option to drop and it will sort? The Gannt Control already has that kind of function.
Nikolay Rusev
Telerik team
 answered on 22 Nov 2016
6 answers
733 views
The dropdownlist opens and then closes when you click on the drop down button starting with release 3/22 (also happens in 3/27 release). I set all scripts being used to the most current release (3/27) and set just the dropdownlist.js script to the beta release script (2/29) and it works fine. After it does this the first time, the widget is then fine. It's just that first time you click on it, it open and then closes right away. All my dropdownlist do this on my page and some use remote datasources and some I set the datasource to some local data object. I tried remove the optionLabel and index options on the initialization but to no positive affect.

This is the code I am using to initialize my dropdownlist...

$("#serviceTypes").kendoDropDownList({
        height: 300,
        optionLabel: "select...",
        index: 0,
        dataValueField: "ServiceId",
        dataTextField: "ServiceName",
        dataSource: {
            transport: {
                read: {
                    type: "POST",
                    url: "../Services/Js/ServiceCommonService_Js.svc/GetServiceTypes"
                }
            },
            schema: {
                data: "d"
            }
        },
        change: function(e) {
            getSearchTerms();
        }
    })

Georgi Krustev
Telerik team
 answered on 22 Nov 2016
1 answer
138 views

Hi,

I was trying the MediaPlayer with playlist just like the demo here

http://demos.telerik.com/kendo-ui/mediaplayer/playlist

but I noticed that when I select another video from the list the timing and slider does not change, it keeps the duration of the first selected video 

see the attached image and notice the current time exceeds the duration which is not the video  actual

Eduardo Serra
Telerik team
 answered on 21 Nov 2016
2 answers
325 views

Here's what I've done:

  1. Created an Electron app, and verified that it works
  2. Copied the Kendo UI js and styles directories into my app's directory
  3. Modified the index.html file per the demo instructions to use a datepicker:
<!DOCTYPE html>
<html>
    <head>
        <title>Welcome to Kendo UI!</title>
        <link href="../telerik/styles/kendo.common.min.css" rel="stylesheet" />
        <link href="../telerik/styles/kendo.default.min.css" rel="stylesheet" />
        <script src="../telerik/js/jquery.min.js"></script>
        <script src="../telerik/js/kendo.all.min.js"></script>
    </head>
    <body>
        <input id="datepicker" />
        <script>
            $(function() {
                $("#datepicker").kendoDatePicker();
            });
        </script>
    </body>
</html>

 

However, when I run the app, I get a text box on the page; not the datepicker.

Is there something else I need to do?

 

Stefan
Telerik team
 answered on 21 Nov 2016
1 answer
167 views

Hi

I have a mvc view called "index" with a table of rows each with "Edit" button and on the top i have a "Create New" button. 

On "Edit" button click, I load a partial view with the details of row item. some of the controls are kendo datepickers. 

if i either click "Save" or "cancel" and then click another "Edit" button everything loads fine. 

But if i don't cancel or save but simply click on another row, my kendo datepicker controls disappear. I suspect it might be the way i am loading my scripts?! 

I followed the tutorial and included    

@Styles.Render("~/Content/kendo/css")
and     @Scripts.Render("~/bundles/kendo")
in my layout.cshtml. 

and triggered my datepicker with class 'datepicker' and script

        $('.datepicker').kendoDatePicker();

It might not be the problem with datepicker but may be the way load/unload should happen? I appreciate any help. 

Thanks

Georgi Krustev
Telerik team
 answered on 21 Nov 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
ScrollView
Switch
TextArea
BulletChart
Licensing
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
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?