Telerik Forums
Kendo UI for jQuery Forum
1 answer
212 views
Hi.  I have 3 cascading dropdowns in my form, similar to the beta example.  Sometimes when I load my form, it may already be filled out.  Meaning I need to populate the menu with the proper items and then select the correct one. 

My question is, I call the .read method to populate the datasource, but then how do I select the item.  I tried doing it in the datasource changed event but that did not work.  If I set the selection before refreshing the datasource, then it gets wiped out.  I'm not sure why it's not doing it in the changed event, seems like that should.
Georgi Krustev
Telerik team
 answered on 23 Mar 2012
1 answer
116 views
I'm trying to get my window to open in the center of the screen.
I'm here totally confuse with the code.

It is working fine in brwosers like FF & Chrome.
here is the code m using:

$(document).ready(function() {
                    var window = $("#window"),
                    undo = $("#undo")
                            .bind("click", function() {
                                window.data("kendoWindow").open();
                                undo.show();
                            });
                    
                    var onClose = function() {
                    undo.show();
                    }
                    
                    if (!window.data("kendoWindow")) {
                    window.kendoWindow({
                        width: "500px",
height: "330px",
                        modal: true,
                        title: "RFX Details",
visible: false,
                        content: "popupContent.html",
                        actions: ["Refresh", "Maximize", "Close"],
close: onClose
                    }).data("kendoWidnow").center().open();
                    


}
$("#undo").click(function(){
var window = $("#window").data("kendoWindow");
window.center();
window.open();
});
                    });
Dimo
Telerik team
 answered on 23 Mar 2012
3 answers
749 views
What IDE is best to use to develop html5 websites and/or apps?

thanks
Basem
Top achievements
Rank 1
 answered on 23 Mar 2012
1 answer
117 views
The website specifically says that KendoUI is included in Premium collection:

Already a Telerik customer? Kendo UI is included in Telerik Premium and Ultimate Collections

Yet when I tried to upgrade to Q1 2012 after using Q3 2011 I only have access to the "Web" part of Kendo.  If this is a change in pricing/bundling then there seem to have been little or no notice of this, which has removed parts of the Kendo framework which I previously had access.

I have been testing the Dataviz heavily recently as a part of new production page and have been waiting for a fix for a Firefox bug (which I found) and I'll be very dissapointed if I no longer have access to that fix without any notice,

Thanks.

Atanas Korchev
Telerik team
 answered on 23 Mar 2012
4 answers
104 views
Hi,

I have a Web Mobile application, developed some time ago,aAt that time there was no Kendo UI Mobile, and I would like to use KendoUI Web Widgets in the pages of this application.

I have tested the Web Widgets samples in my Galaxy Tablet and they work very well.

Is there any known issue that could make improper the use of Web Widgets in Mobile Applications.

Thanks in advance
mvbaffa
Top achievements
Rank 1
 answered on 23 Mar 2012
5 answers
752 views
Hi, hopefully a quick solution here.

I have a grid showing data from a remote data source, code is below inc JSON sample. All works fine apart from filtering on the date column, which then gives a JS error "no method getTime()". I believe this is because the dates returned in the JSON datasource are actually in string format rather than a date object.

If this is the case, or if there is something else I'm missing can someone please help out?

thanks.


//  models
var ftModel_EventLog = kendo.data.Model.define({
        id: "EventLog_ID",
        fields: {
            EventLog_ID: { type: "number" },
            EventLog_EntryDate: { type: "date" },
            EventLog_Message: { type: "string" }
        }
    });
 
//  dataSource
    var ftDataSource_EventLog = new kendo.data.DataSource({
        transport: {
            read: {
                url: "Services/Grid.aspx",
                data: {
                    src: "eventlog"
                },
                dataType: "json"
            }
        },
        schema: {
            data: function (data) {
                return eval(data.data);
            },
            model: ftModel_EventLog
        }
    });
 
//  start of functions
 
function ftLoadContent_EventLog() {
    $(".grid").kendoGrid({
        dataSource: ftDataSource_EventLog,
        filterable: true,
        height: 380,
        sortable: true,
        columns: [
            { field: "EventLog_Message", title: "Message" },
            { field: "EventLog_EntryDate", title: "Entry Date" }
        ]
    });
}

A sample of the JSON data is:

{"data":[{"EventLog_ID":"1","EventLog_Message":"This is an event.","EventLog_EntryDate":"01/02/2012 17:34:22"},{"EventLog_ID":"2","EventLog_Message":"This is another event.","EventLog_EntryDate":"01/02/2012 17:34:45"}]}


Andre
Top achievements
Rank 1
 answered on 23 Mar 2012
3 answers
442 views
Hello,

Normally, if I look at the documentation, the datasource will not contain any data until a read is called. But, in my program, I don't call the read() method and the datasource is filled. How can I disable this automatic reading ?

Cordially,
Kakone.
Rosen
Telerik team
 answered on 23 Mar 2012
1 answer
113 views
Does the Grid have the ability to resize column width?
Nikolay Rusev
Telerik team
 answered on 23 Mar 2012
10 answers
437 views
I am trying to get my head around Kendo UI and would like to use it to build a mobile version of a website.  I have never built a website for a mobile before nor have I ever built an application for a mobile.

I have tested some off the Web UI Widgets on my android phone, IPad and PC and am really impressed. 

I have now come to test the Mobile UI and am getting a little confused.  Is the Web UI and Mobile UI completely separate?    I notice that for the Web Widgets you need to include the file kendo.all.min.js and for mobile you include kendo.mobile.min.js.  Can these be used in conjunction? What about Dataviz?

For example, If I wanted to use the upload widget and use dataviz charts within the Mobile UI could I?  I have tested this and it does to appear to work.  Its great that the mobile UI will re-skin to an Android or iOS but will this work on other platforms ? 

Many thanks in advance for anyone who can clear this up.

Petyo
Telerik team
 answered on 23 Mar 2012
1 answer
109 views
Just downloaded the trial version of Kendo Mobile, and created a "empty" MVC3 web project as a playground.

Added the css and js files, but I can't seem to get it to work.

_Layout.cshtml:
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <title>@ViewBag.Title </title>
  <link href="@Url.Content("~/Content/kendo.mobile.ios.min.css")" rel="stylesheet" type="text/css" />
  <script src="@Url.Content("~/Scripts/jquery.min.js")" type="text/javascript"></script>
  <script src="@Url.Content("~/Scripts/kendo.mobile.min.js")" type="text/javascript"></script>

</head>
<body>
  <div data-role="view">
    <div data-role="header">
      Header</div>
    Hello world!
    <div data-role="footer">
      Footer</div>
  </div>
  @RenderBody()
  <script type="text/javascript">
    window.kendoMobileApplication = new kendo.mobile.Application(document.body);
  </script>
</body>
</html>
* The @RenderBody will only render a dummy content (no HTML present)
Running the website I get a JScript runtime error in the kendo.mobile.min.js file.
Petyo
Telerik team
 answered on 23 Mar 2012
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
AICodingAssistant
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
+? 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?