Telerik Forums
Kendo UI for jQuery Forum
2 answers
154 views
Hello.
I have some problem when click DropDownList, iFrame(Child) in other iFrame(Mother).
In this case I got some strange issue.
Both iFrames twinkling when I click the DropDownList in iFrame(Child).
It just happend on Chrome(current ver 32.0.1700.102).
Anybody Help this?
Thanks.

PS :)
Problem happened in the KendoUI version (2013.3.1316, 2013.3.1324)
Patrick
Top achievements
Rank 1
 answered on 30 Jan 2014
4 answers
2.0K+ views
Hi Team,

We are trying to display Enum Description
for user friendly message. We have some issue on kendo grid template column.
How can we pass the data to the MvcHelperExtensions method.  Please
suggest if you have any solution for this.
columns:
[
          { field: "Status", title: "Status", template: kendo.template($("#tempStatus").html())}
]

<script id="tempStatus" type="text/x-kendo-tmpl">
<div>#= Status#</div>// We
are able to see the data
@*<div>@MvcHelperExtensions.GetWorkOrderStatusDescription("Status")</div>*@// We are not sure how to pass this data to a MvcHelperExtensions method.
 </script>

My Enum as as below.
 public enum WorkOrderStatus
    {
        [Description("Estimate")]
        Estimate = 0,
        [Description("Estimate sent")]
        SubmittedEstimate = 1,
}

My Extention method is below

public static string GetEnumDescription<TEnum>(TEnum value)
        {
            FieldInfo fi = value.GetType().GetField(value.ToString());

            DescriptionAttribute[] attributes = (DescriptionAttribute[])fi.GetCustomAttributes(typeof(DescriptionAttribute), false);

            if ((attributes != null) && (attributes.Length > 0))
                return attributes[0].Description;
            else
                return value.ToString();
        }
 

Masaab
Top achievements
Rank 1
 answered on 29 Jan 2014
1 answer
102 views
We are re-writing a very large application in HTML5 and are using Kendo UI.

We've run into a bit of an issue trying to port programmatic restrictions based on user selection. As an example, we show the user a grid of items... and based on their selection within the grid - various components, entire views, or sub-sets of a view may be enabled or disabled.

The UI toolkit we used previously had an 'enabled' property on all visual elements - widgets, containers, etc. Setting enabled='false' on a widget would turn it grey and would prevent interaction. Setting enabled='false' on a container would cause it and all its children to turn grey and prevented interaction.

Some Kendo UI widgets have an 'enabled' property... but it's inconsistent. We've tried to work around this by tearing-down / re-creating views or crawling through a view and disabling its children; neither of these approaches are practical.

Is this capability something that is on the Kendo UI roadmap? And, in the meantime - do you have any suggestions or best practices that might help?
Alexander Valchev
Telerik team
 answered on 29 Jan 2014
6 answers
110 views
Hi, we are trying to execute the Kendo UI Theme builder on ligne but it doesn't run have you any idea what should we do ? (Find in attachment the error captured in Google chrome)
Abderrahmane
Top achievements
Rank 1
 answered on 29 Jan 2014
1 answer
117 views
I have an existing Html.Kendo().ListView  and TabStrip  contained on a web page. 

Loading content dynamically into the tabstrip causes the datasource held for the listview to lose reference (e.g.  Uncaught TypeError: Cannot read property 'dataSource' of undefined)
 
        $.ajax({
            type: 'GET',
            url: url,
            async: false,
            data: { id: itemId },
            success: function (data) {
               $('#tabstrip-1').html(data);
            }
        });
(It would seem that since the tabstrip content contains a reference to the JQuery library is causes the reset)
Daniel
Telerik team
 answered on 29 Jan 2014
3 answers
407 views
I have a vertical oriented menu with a height of 100%. Is it possible to set the height of the submenu to 100%? Or does this involve changing the rendering template within the kendo.ui.menu.js? I tried to set the following css classes, without success:

.k-animation-container {
           height: 100%;
           max-height: none;
       }
 .k-popup {
           height: 100%;
           max-height: none;
}
Marco
Top achievements
Rank 1
Iron
 answered on 29 Jan 2014
4 answers
1.0K+ views
Hi,
I am investigating to use the datepicker in a AngularJs environment.
The problem I am facing now is that the value of the datepicker I get is a String, not a Date. And I do not want to add code to parse, validate etc.
In my test, I select a date in the calendar. The value is writen to the model, but as the view shows, its a string, not a Date.

This is the (significant part of) the test-set:

The view (kendoui-view_datepicker.html)
<h1>Test of the datepicker</h1>
<input kendo-date-picker data-ng-model="data.testDate" k-options="datePickerConfig"/>
Model date: {{data.testDate}} analyses: {{analyseDate()}}


The script (kendoui-angular-app-datepicker.js):
angular.module('SampleApp', ['ngResource', 'ngRoute', 'kendo.directives']).config(function ($routeProvider)
{    $routeProvider.when('/', { templateUrl: 'kendoui-view_datepicker.html', controller: HomeCtrl }).otherwise({redirectTo: '/'}); });
function HomeCtrl($scope)
{
    $scope.data = {
        testDate: new Date()
    };
    $scope.datePickerConfig = {
        format: "dd-MM-yyyy",
        parseFormats: ["yyyy-MM-dd", "dd/MM/yyyy", "yyyy/MM/dd"],
        footer: "Currently #: kendo.toString(data,'dd-MM-yyyy')#"
    }
    $scope.analyseDate = function () {
        var tp = typeof  $scope.data.testDate;
        return  $scope.data.testDate + " " + tp;
    }
}

I attach these files plus a start-up file and the used kendo-angular.js
Mathijs
Top achievements
Rank 1
 answered on 29 Jan 2014
3 answers
121 views
Hi Team,

We bought your product recently and we have a project requirement to use the Kendo UI Scheduler extensively.

Currently our requirements are,the data comes from API and needs to be stored locally in localStorage and feed to the scheduler. Also the data created by the users in the scheduler should be persisted locally in localStorage and feed to the APIs which will save to the database.

We have seen your demos and we could not match with our requirements. Could your please provide support to acheive our project goal.

Also we have another requirement of scrolling the configured data horizontally over the weekdays.

Thanks,
Siva Prasad Chinigepalli 

Alexander Popov
Telerik team
 answered on 29 Jan 2014
1 answer
897 views
I know we can get treeview node's parent by this.parent(e.node). But how to get parent's parent? 

Thank you.
Iliana Dyankova
Telerik team
 answered on 29 Jan 2014
1 answer
970 views
Is there a way to temporarily disable the edit functionality on the grid? I tried setting editable to false on a previously editable grid, but it didn't pick up the new configuration change.
Dimo
Telerik team
 answered on 29 Jan 2014
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?