Telerik Forums
Kendo UI for jQuery Forum
2 answers
179 views
Hi all,

I am looking for some best practice ideas before diving in. We have an existing ASP.Net MVC app which we will be providing a mobile front end for. We'll be using the Kendo mobile controls in an ASP.Net MVC project. Here are the questions I have so far:

1. Is it best to create a new ASP.Net MVC project for the mobile view, or so you keep them in the same project and then in the _Layout page check for mobile?
2. Is it best to put the app init in the _Layout page? (I'm talking about this script: var app = new kendo.mobile.Application();)

Thanks in advance!
Trent
Top achievements
Rank 1
 answered on 31 Jul 2013
2 answers
237 views
Hi,

I am trying to workout how to use cascade feature with this hierarchical data set.

Object Type  of Brand with fields of  Id, Name
Object Type of Product with fields of Id, Name, BrandId

As you can see the Parent and Child objects have the same Primary Key name, and the parent key is the object name with Id  suffix,

From the examples I have seen and various other posts etc, I think the primary key name is is the object name with Id suffix.

I did set up with the various Id names etc and my odata call uses the Id in the filter on the Products.

/odata/products?$inlinecount=allpages&top=100&$filter=Id eq 1 

where it should have been

/odata/products?$inlinecount=allpages&top=100&$filter=BrandId eq 1 

So my question is can you specify the parent field name.  If not I think this should be an additional feature for this widget.

Regards

Richard...

 
Richard
Top achievements
Rank 1
 answered on 31 Jul 2013
5 answers
143 views
Hi there,

The dataBound event used to fire before Q2 and not any more. I am still with free trial version . Does that matter?

Also dataSource calling remote odata service returns nothing with Q2. Is there any API changes to the dataSource?

Thanks
Jamie
Petyo
Telerik team
 answered on 31 Jul 2013
1 answer
104 views
views: [
{
type: "week",
eventTemplate: "#: kendo.toString(start, \"h:mm tt\") # - #:title#"
},

It seems if I set the eventTemplate the scheduler will no longer render any tooltip.  Can I define a custom toolTip template?  Is it preferred that I inject my own HTML to do this?
Rosen
Telerik team
 answered on 31 Jul 2013
3 answers
304 views
After updating to 716 I noticed that the kendo cultures folder is no longer included.

Is this intended? If so, what should we use instead and where is documentation about the change?
Sebastian
Telerik team
 answered on 31 Jul 2013
4 answers
487 views
All -

I have included    
     <script type="text/javascript" src="Scripts/jquery_1.9.1.js"></script>
    <script type="text/javascript" src="Scripts/Kendo/kendo.web.min.js"></script>
    <script type="text/javascript" src="Scripts/Kendo/kendo.scheduler.min.js"></script>

but still, the following code would throw error saying the KendoScheduler is not found..
(JavaScript runtime error: Object doesn't support property or method 'kendoScheduler')

All kendo files are from kendoui.web.2013.2.716.open-source release...

Could any one tell me what am i missing?

<div id="scheduler"></div>
$(document).ready(function () {
            $("#scheduler").kendoScheduler({
                date: new Date(),
                dataSource: [
                                {
                                    id: 1,
                                    start: new Date("2013/6/6 08:00 AM"),
                                    end: new Date("2013/6/6 09:00 AM"),
                                    title: "Interview"
                                },
                                {
                                    id: 2,
                                    start: new Date("2013/6/6 08:00 AM"),
                                    end: new Date("2013/6/6 09:00 AM"),
                                    title: "Meeting"
                                }
                           ]
            });
        });
Dimo
Telerik team
 answered on 31 Jul 2013
1 answer
167 views
hi guys.
i use kendo mobile and kendo web in my apps.
i have noticed that loading animations are disappeared when loading ajax contents. can someone point me why is that happens? 
i tried to put app.showLoading() in request start of the datasource and app.hideLoading() in the requestEnd event but it is ignore my commands.
regards maor
Petyo
Telerik team
 answered on 31 Jul 2013
1 answer
341 views
I'm trying to use box-shadow inside a KendoUI Mobile view, but I'm unable to make it work. Below is the code, but no shadow is shown underneath the "shadowClass" paragraph as long as it's followed by a content div or a listView that's not inset. If I remove the listView and the content-div the shadow is shown.

Is it possible to achieve the bottom shadow effect together with a listView? 

The view:
<div data-role="view" data-layout="app" data-title="test" id="pageTest">
    <div class="shadowClass">
        <p style="font-weight: normal;">
            Some explanation text goes here.
        </p>
    </div>
    <div data-role="content">
        <ul id="listview-program"></ul>
    </div>
</div>

The CSS:
.shadowClass {
background-color: yellow;
-moz-box-shadow: 1px 5px 9px #000000;
-webkit-box-shadow: 1px 5px 9px #000000;
box-shadow: 1px 5px 9px #000000;
}
A jsFiddle: http://jsfiddle.net/zsRFL/1/
Petyo
Telerik team
 answered on 31 Jul 2013
1 answer
118 views
im using php to access data in mysql database but i would like to store form data into my database using php and how do i select username and password using php in a form created kendoui...thanks in advance.

<?php
 $link = mysql_pconnect("localhost", "root", "") or die("Unable To Connect To Database Server");
     mysql_select_db("db") or die("Unable To Connect To ebusticket");
   
    $request_vars = Array();
    parse_str(file_get_contents('php://input'), $request_vars);

    $arr = array();
   $fname = $request_vars["fname"];
   $lname = $request_vars["lname"];
    
    $rs = mysql_query("insert into table (Pass_Surname, Pass_Fname) values ('" .$lname. "' , '" .$fname. "'");

   if ($rs) {
        echo json_encode($rs);
    }
    else {
        header("HTTP/1.1 500 Internal Server Error");
        echo "Insert Failed";
        
    }
    
     // add the header line to specify that the content type is JSON
    header("Content-type: application/json");
?>
Petur Subev
Telerik team
 answered on 31 Jul 2013
3 answers
101 views
The latest kendo update has changed jquery and now it errors in IE10 when trying to parse regex of the form /*anything*/x

Where x is a var
Sebastian
Telerik team
 answered on 31 Jul 2013
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
Drag and Drop
Application
Map
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
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?