Telerik Forums
Kendo UI for jQuery Forum
0 answers
126 views
Hello,

I'm new to Kendo Mobile and like it very much. I made a first application with 2 pages both are using the same layout.
If I now navigate to the 2nd page and press back it says "loading" but doesn't load the first page again.
After that it seems to break my whole application.

Can anyone help me out with my problem?

Thanks for your help.

Regards 
Joachim
Joachim
Top achievements
Rank 1
 asked on 04 Nov 2012
5 answers
1.1K+ views
This is my new Error: Microsoft JScript runtime error: Object doesn't support property or method 'kendoGrid'.

Here is what my grid looks like

@(Html.Kendo().Grid(Model)
        .Name("CodeManager")   
    .Columns(columns =>
    {       
        columns.Bound(p => p.CodeID);
        columns.Bound(p => p.Status);       
    })   
    .DataSource(dataSource => dataSource       
        .Ajax()        
        .Read(read => read.Action("_Filtering", "CodeManager", new { classifications = @ViewBag.SelectedCatgory }))
    )
)


Thanks
Dennis
Saurabh
Top achievements
Rank 1
 answered on 04 Nov 2012
0 answers
118 views
Hi,

I have problem with a kendo grid. It is rendered in an window which opens after clicking a button.

Firstly it makes two POST requests.
Secondly in IE an error htmlfile invalid element occurs. Can anybody help me with that?

@(Html.Kendo().Grid<WebUI.Models.ViewModels.Weather>()
.Name(Constants.GridName).Columns(columns =>
        {
            columns.Bound(o => o.DictionaryId)
                .ClientTemplate("<input type='checkbox' name='" + Constants.GridCheckbox + "' value='<#= TestCaseDictionaryId #>' />")
                .HeaderTemplate(
                    @<text>
                        <input type="checkbox" title="@Constants.GridCheckAllTitle"
                            id="@Constants.GridCheckAll" onclick="@(Constants.GridCheckAllOnClick)(this)" />
                    </text>)
                .Width(50)
                .HeaderHtmlAttributes(new { style = "text-align:center" });
            columns.Bound(o => o.Name);
            columns.Bound(o => o.Package);
            columns.Command(command => command
                .Custom(Constants.GridName + "Add").SendDataKeys(false)
                .Text("add")
                .Click(Constants.GridName + "Click")
                .SendState(false)).Width(100).Title("Actions").HtmlAttributes(new { style = "text-align: center" });
        })
        .Groupable()
        .DataSource(dataSource => dataSource.Ajax()
            .Read(read => read.Action("AjaxKendo", "ReadDataFromServer")
                .Data(Constants.GridName + "AdditionalData"))
                .PageSize(50).Group(group => group.Add(e => e.Package)))
        .Events(events => events.DataBound(Constants.GridName + "OnDataBound"))
        .Sortable().Pageable(p => p.Refresh(true)).Filterable().Scrollable(scrolling => scrolling.Height(450)));
Mic
Top achievements
Rank 1
 asked on 04 Nov 2012
1 answer
496 views
I would like to implement a template in the grid toolbar. I am just not sure how to add the "Add a new record" button that will call the
.ToolBar(toolbar => toolbar.Create().Text("Create"))

I am NOT using .NET so I will get an error Uncaught SyntaxError: Unexpected token >

Please see my template code in the jsbin below.

http://jsbin.com/ojevoc/23/edit
OnaBai
Top achievements
Rank 2
 answered on 04 Nov 2012
1 answer
150 views
I have a  mobile app using Kendo Mobile, works great on iOS but doesn't work at all on Android. Is there any easier way to debug what actually is going on with the android browser? Or any other recommendations on testing for android.
Ali
Top achievements
Rank 1
 answered on 03 Nov 2012
1 answer
262 views
I want to show Selected Main Menu Item also if any Sub Menu Item is selected. e.g. we have menu Items are

Main-1
    Sub-1
    Sub-2
    Sub-3
Main-2
    Sub-1
    Sub-2

and so on...

Now whenever user selects Sub-2 of Main-1 Menu then Sub-2 and Main-1 should be shown in different background color or with different style. So how can we do this in Kendo Menu?

Thanks

Anil Lakhani
Jayesh Goyani
Top achievements
Rank 2
 answered on 03 Nov 2012
1 answer
311 views
Hello,

actually im facing a really bad problem with the kendo grid. I built a grid with batch editing, like shown in the kendo docs. The date is shown well in the normal display mode in the format i set {0:y} which displays month and year.
To edit this field, i use the Kendo Date Picker (this doest matter at all). So when the grid switches to edit mode, the date is not formatted and instead shown in the format "Mon Oct 01 2012 00:00:00 GMT+0200". I cant submit it in this format, because my validator gives me an error.

As i already spent hours on searching on that topic, i found a few things which acutally dont work for me. I set up the localized js files properly:
 @{
     var culture = System.Threading.Thread.CurrentThread.CurrentCulture.ToString();
   }

<
script src="@Url.Content("~/Scripts/cultures/kendo.culture." + culture + ".min.js")")</script>
<script>kendo.culture("@culture");</script>

As i can see in the display mode, the date is well formatted to the spanish format, which is my culture. So this works.

Maybe another info is, how my Data Class looks like (i tried as well with datatype datetime):
[DataType(DataType.Date)]
[DisplayFormat(ApplyFormatInEditMode=true, DataFormatString="{0:y}")]
public DateTime Date { get; set; }

So im kind of lost, what the problem is. I also tried the ClientTemplate Property, but this is only called when the grid is in display mode.

King regards
Sebastian
Top achievements
Rank 1
 answered on 03 Nov 2012
0 answers
162 views
I want to trigger the upload file event when some other button is clicked, instead of button generated by kendoUI itself.
Also I need to hide the upload button generated by default.

I have developed a method to generate image thumbnails before uploading the files (only for image files) can I post the method here in these forums.
manish
Top achievements
Rank 1
 asked on 03 Nov 2012
2 answers
225 views
On this Link, http://docs.kendoui.com/api/wrappers/aspnet-mvc/Kendo.Mvc.UI.Fluent/TreeViewBuilder 

there is a Topic on the Checkbox with the treeview saying:

.CheckboxTemplate("#= data #")
Ok, but what do I have to put in "#= data #" so my treeview has the checkbox on each Item?

Ps.: Newbie online =P 
Jeff
Top achievements
Rank 1
 answered on 02 Nov 2012
0 answers
74 views
We have solved this issue.  It turned out to be a server issue.
Shohab
Top achievements
Rank 1
 asked on 02 Nov 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
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
Licensing
ScrollView
Switch
TextArea
BulletChart
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
TimePicker
FloatingActionButton
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
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?