Telerik Forums
Kendo UI for jQuery Forum
1 answer
104 views

Here is some mock data:

[
        { Date: "10/15/2013", Alpha: .13, Beta: 3.63, Delta:22.18, Gamma: 25.94 },
        { Date: "10/16/2013", Alpha: 32.35, Beta: 20.25, Delta: 29.08, Gamma: 81.68 },
]


I have 4 series defined in my line chart for each of the data points.  I have set the first three to be stacked lines and the fourth (Gamma) to be non-stacked line on a second axis.  Both axes are set to min:0 and max: 100,  I am expecting the Gamma point to be at its true data value - for example 25.94 in the first data set above, because it is not stacked.  Instead it is still stacking, therefore being graphed at 51.82.

If I change the fourth series to area or bar, it works as expected, without changing anything else.

Bug?
Iliana Dyankova
Telerik team
 answered on 07 Nov 2013
3 answers
159 views
I have a single page app but I'd like to give more feedback to the user when the initial bulk of markup and script is loaded. Is there a supported way or me loading only a very small initial page which subsequently fetches and loads into the DOM all the other views that the application will use? This was I can show a progress bar or similar instead of just a blank screen. 
Petyo
Telerik team
 answered on 07 Nov 2013
4 answers
208 views
Hello all.
Im new with kendo and i wanted to ask if its possible to open a grid in Kendo mobile application?

Thnx in advance
Kiril Nikolov
Telerik team
 answered on 07 Nov 2013
11 answers
1.1K+ views
Hi ,

I am loving this site ever since I had stumbled upon it while googling . Awesome job , I must say.

But , I am facing some problem regarding datasource, In most of the examples , it has been used as JSON or XML database.

Can I connect without using XML or JSON ?



Keep up the good work.

Thank you.

PRAVEEN KUMAR
Top achievements
Rank 1
 answered on 07 Nov 2013
2 answers
477 views
Hi,


I am creating a Kendo Mobile SPA, but would like to separate the views into their own html files because there will be more than a few views.  So I am using remote views.


With remote views, it looks like that in order for the <a> tag to work you need to supply it with a Kendo Mobile data-role either a button, tab strip or list.  Examples:


<ul data-role="listview" data-style="inset" data-type="group">
            <li>Sources
                <ul>
                    <li><a href="#secondview">Local View</a></li>
                    <li><a href="remoteview.html">Remote View</a></li>
                </ul>
            </li>
        </ul>


Or


 <a href="remoteview.html" data-role="button">Remote View</a>




Just using a regular link to a remote view like this will not work (Without the data-role, Kendo Mobile doesn't know to handle this as an ajax call to a remote view and just loads the html like it's a whole new page):


<a href="remoteview.html">Remote View</a>




I have images in my app that are touchable and will navigate to other views, so my idea to achieve the SPA with remote views is to use data-role of button and try to set the button background image to the image like this:


<a href="remoteview.html" data-role="button" style="background-color: white; color: black;"><img width="50%" src="images/Button.png" alt="image"><br/>Remote View</a>




Which doesn't work totally.  The first time the button is displayed the image is really small—this navigates correctly to the remote view, however you have to navigate and then go back to see the button have the correct size.  


Anyway, is there a better way to set a background image with the Kendo Mobile button?


Thanks,
Derrick
Derrick
Top achievements
Rank 1
 answered on 06 Nov 2013
7 answers
1.0K+ views
Has anyone ever experienced the following error:

'uid' is undefined
kendo.all.min.js, line 8 character 217810


I get this when browsing the site with IE8 and the latest FireFox.  Everything works fine when using Chrome.

I'm using jquery.iecors for IE8 support and have set the Access-Control-Allow-Origin header to * on the Web API site that serves up the JSON data.  The Web API JSON call is successful and is returning valid JSON data for all browsers.

I'm not too sure where to go from here, any suggestions are welcome.
Zachary
Top achievements
Rank 1
 answered on 06 Nov 2013
2 answers
1.3K+ views
Hi,

I am using Selenium automation testing in one of my view with kendo ui editor.

I couldn't pass values to the editor control from my test. Please give information how to do this.

View
====
 @(Html.Kendo().EditorFor(m => Model.reportDetail.Content) 
                    .Name("Content")
                    .HtmlAttributes(new { style = "width: 810px;height:500px" })
                    .Tools(tools => tools
                        .Clear()
                        .Bold()
                        .Italic()
                        .Underline()
                        .Strikethrough()
                        .FontName()
                        .FontSize()
                        .FormatBlock()
                        .FontColor()
                        .BackColor()
                        .InsertOrderedList()
                        .InsertUnorderedList()
                        .CreateLink()
                        ))

Test
====

[TestMethod]
public void TestName()
{
// code goes here..
var kendoEditor = webDriver.FindElement(By.Name("Content"));
// assert code goes here..
}

I need to set value as "Test" in the editor.

I couldn't assign value as other controls
Ex:- @Html.DropDownListFor

var yearInputControl = new SelectElement(webDriver.FindElement(By.Name("dateComponent.Year")));
yearInputControl.SelectByValue("2013");

Thanks in advance,
PK
leblanc
Top achievements
Rank 1
 answered on 06 Nov 2013
3 answers
1.9K+ views
I have a kendo grid that let's user add the rows manully. Once users are done adding rows, There is a button that uses Ajax post to post data to controller action.

How can I pass the data from grid as Enumerable of model to the action

 @(Html.Kendo().Grid(Of PEERS.ECFPropertyModel).Name("ECFProperty").      Columns(Sub(cols)                      cols.Bound(Function(it) it.PropertyID).ClientTemplate("<input type='checkbox' onClick='gridECFProperty_selectOnClick(this);' id='SelectProperty' value='#=PropertyID#'>#=PropertyID#</input>")                      cols.Bound(Function(it) it.PropertyName)                      cols.Bound(Function(it) it.CostSaving)                      cols.Bound(Function(it) it.ImplementationCost)                      cols.Bound(Function(it) it.TargetCompletionDate)                      cols.Bound(Function(it) it.ActualCompletionDate)                                End Sub ).Pageable().Scrollable().Sortable().Selectable().DataSource(Sub(d) d.Ajax().ServerOperation(True).Batch(True).                                                     Model(Sub(m) m.Id(Function(p) p.PropertyID)).PageSize(10).                                                     Read(Function(r) r.Action("ECFPropertyList""ECFProperty", Request.RequestContext.RouteData.Values)).                                                     Update(Function(u) u.Action("SaveECFProperty1""ECFProperty", Request.RequestContext.RouteData.Values))       ))

<div> <input type="submit" id="submit" onclick="SaveECF();"  value="Save ECF Property" /> </div>


function SaveECF() {                           $.ajax({          url: '@Url.Action("SaveECFProperty""ECFProperty", Request.RequestContext.RouteData.Values)',          type: 'POST',          traditional: true,          datatype: "json",           data: {               PropertyList: $("#ECFProperty").data("kendoGrid").dataSource.view().toJSON),             currency:'USD'          },          success: function () { window.alert('saved'); }         });  }
Navin
Top achievements
Rank 1
 answered on 06 Nov 2013
4 answers
1.2K+ views
Hello, 

I have a page that looks like the one attached. The textbox here looks very small compared to the rest of the page, is there an easy way to make this look a bit better. I mean by making the textbox bigger and the font inside also, thanks
Craig
Top achievements
Rank 1
 answered on 06 Nov 2013
2 answers
539 views
I was wondering if the following is possible?
I have a custom command button in my grid:

columns.Command(command =>
        {
            command.Custom("options").Text("...").Click("showMenu");
        });

This opens a small menu next to the button that contains a few options.

I am wondering if it is possible to have the edit button on this menu?

I can get the row data like so:
var grid = $("#grid").data("kendoGrid");
var dataItem = grid.dataItem($(e.currentTarget).closest("tr"));

How do I then call the edit popup for the row?

Thanks
Elliott
Top achievements
Rank 1
 answered on 06 Nov 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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?