Telerik Forums
Kendo UI for jQuery Forum
5 answers
244 views
HI,

When the ScrollView reaches the end of the first data call, does it automatically call the datasource again or do I have to do something special to get that to work?

For example, I am making a call to a REST service that returns data in a JSON format. I want to bring back my data in chunks of 50 records and display those images. Once I get to the end of that data set, how do I make the Scroll View get the next set of data and continue to displaying the images while still being able to go back and look at the previous data/images?

If I need to pass in parameters to the REST service and those parameters change from data call to data call, how do I make sure that the parameter change is being passed on each data call?


Thanks.
Alexander Valchev
Telerik team
 answered on 25 Nov 2013
3 answers
135 views
Hi 

i'm currently working on a project under cordova / kendo ui and i'm going through a problem that i can't solve myself.

when i'm running the project on my web browser on the computer, it works as expected but when i upload the project on my phone, there is an anormal behave ..

here is my code : 

<!DOCTYPE html>
<html>
<head>
  <title>Test</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link href="styles/kendo.common.min.css" rel="stylesheet" />
  <link href="styles/kendo.default.min.css" rel="stylesheet" />
  <link href="styles/kendo.mobile.all.min.css" rel="stylesheet" />
  <link href="styles/index.css" rel="stylesheet" />
  <!-- Librairies -->
  <script src="lib/jquery.min.js"></script>
  <script src="lib/kendo.all.min.js"></script>
  <!-- Fonction d'init -->
  <script src="init/cordovaInit.js"></script>
  <!-- Controleurs -->
  <script src="controlers/panelControler.js"></script>
  <!-- EndScript -->
</head>
<body>
  <div data-role="view" id="drawer-home" data-layout="drawer-layout" data-title="search">
    <div id="search">
        <div id="first">
          <p>first</p>
        </div>
        <div id="second">
          <p>second</p>
        </div>
        <div id="third">
          <p>third</p>
        </div>
    </div>
</div>
 
<div data-role="drawer" id="my-drawer" style="width: 270px" data-views="['/', 'drawer-home']">
  <ul data-role="listview" data-type="group">
    <li>Menu
      <ul>
        <li><a href="#drawer-home" onClick="panelControler('first')">First</a></li>
        <li><a href="#drawer-home" onClick="panelControler('second')">Second</a></li>
        <li><a href="#drawer-home" onClick="panelControler('third')">Third</a></li>
      </li>
    </ul>
  </div>
  <div data-role="layout" data-id="drawer-layout" data-layout="overview-layout">
    <header data-role="header">
      <div data-role="navbar">
        <a data-role="button" data-rel="drawer" href="#my-drawer" data-icon="drawer-button" data-align="left"></a>
        <span>Test</span>
      </div>
    </header>
  </div>
 
  <script>
  var app = new kendo.mobile.Application(document.body);
  panelControler('first');
  </script>
</body>
</html>
here is my little javascript :

function panelControler(action){
    alert("panelControler");
    if (action === 'first'){
        alert("first show");
        $("#first").show();
        $("#second").hide();
        $("#third").hide();
    }
    else if (action === 'second'){
        alert("second show");
        $("#second").show();
        $("#first").hide();
        $("#third").hide();
    }
    else if (action === 'third'){
        alert("third show");
        $("#third").show();
        $("#second").hide();
        $("#first").hide();
    }
}
the problem is when i run it on the computer and i change the menu,  the <p> balise change as expected but on the mobile, it's getting stuck on the <p>first<p>
i just don't know when this problem come from and then how to solve it ...

thank you for helping ;-)
Alexander Valchev
Telerik team
 answered on 25 Nov 2013
6 answers
119 views
Hi expertise,

In my application,  i use  splitview and normal views with drawer. When i navigate to spitview from normal view, splitview is stuck.

can I use drawer and splitview together?

Thank you.
Petyo
Telerik team
 answered on 25 Nov 2013
1 answer
78 views
Is it possible for a javascript Kendo widget to observe MVVM models, or can only those widgets declaratively defined in HTML participate? The reason I'm asking is that sometimes it's preferable for me to be able to define widgets in a page, but sometimes I'd like to keep them in as javascript functions.
Petyo
Telerik team
 answered on 25 Nov 2013
1 answer
134 views
Hi I am new to Kendo, and was wondering if there was a way to change the marker size? I need the size to be about half as big as it currently is. 
Hristo Germanov
Telerik team
 answered on 25 Nov 2013
1 answer
116 views
So in the API documentation, it shows marker default setting, layer settings, etc.  Are these not possible to be set via Razor syntax:

@(Html.Kendo().Map().MarkerDefaults(con=>con.Color("blue"))

but the only settings here are shape, size, and color.

Nothing about the tooltip settings.  So is the API in general assumed to be only available in javascript?

Hristo Germanov
Telerik team
 answered on 25 Nov 2013
3 answers
62 views
I'm working with the trial right now. And I've noticed that none of the demos recognize internet explorer as a mobile browser.  
So, the touch events aren't being handled properly.

For example, the scheduler is all but unusable.  And in charting, tooltips don't show when tapped.

The test environment is windows 8.1 RT ie 11.

Are there any plans to handle this in the future?
Petyo
Telerik team
 answered on 25 Nov 2013
3 answers
239 views
Hello

When I press Ctrl+Z to undo changes, it does the undo however I get this JS error:
Line: 21
Error: Unable to get property 'selectRange' of undefined or null reference

I've checked the code and it seems that this.editor was never initialized.

You can reproduce the issue using the online demo

Regards,
Alex Gyoshev
Telerik team
 answered on 25 Nov 2013
5 answers
201 views
I've gone over to the demos and the widgets aren't responsive.  Ok so maybe you haven't updated the website.  
So where is the documentation?  I blame it on my add
Alex Gyoshev
Telerik team
 answered on 25 Nov 2013
7 answers
476 views
Hi,
 
I am using KendoUI web widgets in my enterprise app. I need to create/customize a Theme as our corporate branding. After reading the docs, I realized that there is a tool called ThemeBuilder for this purpose available here http://demos.kendoui.com/themebuilder/web.html
 
Now I need to understand the logic behind the color options this tool (ThemeBuilder) shows me. All the Themes are based on 4 primary colors as shown in the selection options. However, when i try to modify/customize any theme, I found that there are more to it? How the ThemeBuilder is calculating all other colors besides the 4 Theme colors?
If I need to create my own corporate theme with 4 primary colors, how do I pick rest of the colors as shown in ThemeBuilder?
 
On the second note, ThemeBuilder can generate css and less. Is there a way to generate Scss as we are using scss in our organization?
 
Does Telerik provides scss version of their source styles. I know they provide css and less in their source directory. But converting them to scss looks like a nightmare to me!
 
 
Appreciate your help.
Dimo
Telerik team
 answered on 25 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?