Telerik Forums
Kendo UI for jQuery Forum
6 answers
511 views
Is there any information or samples how to enable Kendo and ASP.NET AJAX Controls interoperate?   Until Kendo is as robust as the other controls you have, I need to somehow mix the two, but I am not sure what the best approach is for doing so.

Can someone offer some guidance?
Naveen
Top achievements
Rank 1
 answered on 07 Nov 2013
1 answer
389 views
Hello,

I need to be able to determine how the change event is triggered for a combo box.  For instance if the user just entered text and the AutoComplete Suggest opened the box ...or...if the user clicked the arrow to open the box.

I need to do something different in each case.

Is there anyway to determine this ?

Thanks,
Carrie
Dimo
Telerik team
 answered on 07 Nov 2013
1 answer
82 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
142 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
131 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.0K+ 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
438 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.2K+ 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?