Telerik Forums
Kendo UI for jQuery Forum
7 answers
677 views
hello,
I'm trying to add buttons for pagination.
the only way that I realize is this, modifing the kendo.all.js due the refresh at end of widget:

           
html_add = '</li><li><button id="nextPage" class="k-sprite k-icon k-arrow-next">Next</button><button id="firstPage" class="k-sprite k-icon k-arrow-last">Last</button></li>';
html_prep ='<li><button id="firstPage" class="k-sprite k-icon k-arrow-first">First</button><button id="prevPage" class="k-sprite k-icon k-arrow-prev">Prev</button></li>';
//that.list.empty().append(html)
that.list.empty().append(html).append(html_add).prepend(html_prep);

in the var Pager = Widget.extend(

so I have the situation in picture.
Is there a better way that don't put code in the kendo.all.js (I don't want to modify anymore..) ?
Every other  function that I write  is rebulid with the pager refresh.

thanks
Giulio
Manoj Kapoor
Top achievements
Rank 2
 answered on 13 Mar 2012
2 answers
251 views
Hi,

How do you force DropDownList to re query data from the server. The only way I could get it to work is by using code below:
ddl.dataSource.data([]);
ddl.dataSource.fetch();
There got to be a better way.
Also using larger font size distorts drop down button of this ui widget. vertical alignment does not seem to work with span elements. I personally prefer table solution of your MVC.


Maxim
Top achievements
Rank 1
 answered on 13 Mar 2012
3 answers
1.2K+ views
Hi,

I want to build a SPA and I'm wondering if this is possible with KendoUI. I mean, a good SPA addresses the following issues:

- real permalinks
- page titles
- a working back button that fully degrades 
- different data states (page states, controls states etc.)
- client side caching
- asynchronous updates/communication
- ...what else? (please add if I missed something)

Example: http://pjax.heroku.com/ 

Does KendoUI have/will have such features or do I need an additional library? 

mike
Iliana Dyankova
Telerik team
 answered on 13 Mar 2012
0 answers
75 views
I'm trying to use a lot of Grids with widgets in them (all Kendo UI widgets) and it's not going well at all. Widgets created before the Grid is instantiated end up having weird duplicate fragments or have portions set to display:none. Widgets created after Grid instantiation can't be interacted with. Seeing as to how there are no examples I can find with widgets inside a Grid I'm guessing this is not possible? Is anybody else doing this?
Rei
Top achievements
Rank 1
 asked on 13 Mar 2012
1 answer
118 views
Hi 
Will KendoUI mvvm  work with Upshot js
Chris
Top achievements
Rank 1
 answered on 12 Mar 2012
2 answers
4.0K+ views
Hello, my grid is setup pretty similar to this example:
http://demos.kendoui.com/web/grid/rowtemplate.html 


My question is, how can I set cell spacing and/or padding?  I tried setting it in the table element and it seems to be ignored.  To go back to the example, there is a little space between the images on each row, what if you wanted to reduce that space to zero?  

My issue is there is too much extra space, it's more noticeable in my case because the rows are shorter, how do I get rid of it?  I actually tried setting the cellpadding and cellspacing to a high number just to see if it is being observed but it doesn't seem to have any impact.  
Kjell
Top achievements
Rank 1
 answered on 12 Mar 2012
0 answers
419 views
While I download Kendo, and run the demos from file://, I cannot run your online demos. The reason is that our I.T. department insists on having a proxy for all calls (IE, WinINET, Firefox) goes out of the our firewall to the Internet. There is a host, port, username and password that has to be given.

In general this works since WinINET clients (FireFox, IE, etc) all cache the credentials and have settings for them to provide the values whenever I visit a web site.

But using Fiddler, I see that you are doing somethng (XMLHTTP?) that is not providing the authentication:

For example, when I try to look at the GRID demo, Three requests are fired off, and I am going to show the the responses trapped by Fiddler:

GET http://demos.kendoui.com/web/grid/from-table.html?partial=1 HTTP/1.1
Host: demos.kendoui.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Accept: text/html, */*; q=0.01
Accept-Language: en-US
Accept-Encoding: gzip, deflate
Proxy-Connection: keep-alive
X-Requested-With: XMLHttpRequest
Referer: http://demos.kendoui.com/web/overview/index.html
Cookie: __utma=2786159.356947064.1330612962.1331565274.1331568167.12; __utmz=2786159.1331565274.11.9.utmcsr=telerik|utmccn=box|utmcmd=index-divs; __utmx=2786159.00020135041346512463:2:1; __utmxx=2786159.00020135041346512463:1331066913:2592000; gs_u=35909591:15719:54649:1331568303735; __utmc=2786159; BCSI-CS8C660C0B=2; ASP.NET_SessionId=0cn0nhaoskasmpnnt2vlgiln; __utmb=2786159.14.10.1331568167; gs_p_GSN-096897-X=10



HTTP/1.1 407 Proxy Authentication Required
Proxy-Authenticate: NTLM
Proxy-Authenticate: BASIC realm="Please enter your CSDL-SERVICES username and password"
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Proxy-Connection: close
Set-Cookie: BCSI-CS8C660C0B=2; Path=/
Connection: close
Content-Length: 815
Proxy-Support: Session-Based-Authentication

<HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD>
<BODY>
<FONT face="Helvetica">
<big><strong></strong></big><BR>
</FONT>
<blockquote>
<TABLE border=0 cellPadding=1 width="80%">
<TR><TD>
<FONT face="Helvetica">
<big>Access Denied (authentication_failed)</big>
<BR>
<BR>
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica">
Your credentials could not be authenticated: "Credentials required.". You will not be permitted access until your credentials can be verified.
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica">
This is typically caused by an incorrect username and/or password, but could also be caused by network problems.
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica" SIZE=2>
<BR>
For assistance, call the IT Services Help Desk (x4357).
</FONT>
</TD></TR>
</TABLE>
</blockquote>
</FONT>
</BODY></HTML>


---
Dr.YSG
Top achievements
Rank 2
 asked on 12 Mar 2012
0 answers
68 views
It is something like menu builder. You can drag and drop menu elements just like tree view but it looks like menu.

Some style problems may be solved. And I can move items into other items and even items between items in menu dropdown.

The only problem is when I try to change position of items in horizontal menu line.

Do you think I can finally accomplish this and do you have any ideas on what basic I have to understand doing this?
Sergey
Top achievements
Rank 2
 asked on 12 Mar 2012
2 answers
244 views
I started learning Kendo Mobile, Is working with a local data, then i tried to work with a simple webservice. the webservice return a List of:

  public class Test
    {
        public string name { get; set; }
        public string Prom { get; set; }
    }

in JSON Format. I verified, and put a break point at the method and also check in Firefox Firebug. it's correct. the following is my code

    <div data-role="view" id="grouped"
        data-transition="" data-title="ListView" data-layout="databinding">
        <ul id="grouped-listview">
        </ul>
    </div>
    <script type="text/javascript">
        $(function () {
            var dataS = new kendo.data.DataSource({
                transport: {
                    read: {
                        type: 'POST',
                        url: 'KendoMobile.asmx/GetTest',
                        dataType: 'json',
                        data: '{}',
                        contentType: 'application/json; charset=utf-8'

                    },
                    schema: {
                        data: 'd'
                    },
                    group: 'Prom'
                }
            });

            $("#grouped-listview").kendoMobileListView({
                 dataSource: dataS,
                template: "${name}"
            });

        });

the page is not showing any data. What's wrong with my code. all CSS, and JS are added correctly since is working with a local data. Any help would be greatly appreciated.
Georgi Tunev
Telerik team
 answered on 12 Mar 2012
4 answers
256 views
Hi Team,

This are the following control i am going to use in my project
so i just wanted to know whether they are available in kendoUI as component
if they are not available ,then whether these controls can be created by us.

Silder
Dropdown
Right Click(context menu)
Tooltip
Page Search
Accordion
List Box
Clone : creating a new row with necessary controls.
List editable
Images Gallery
Popup


Waiting for your reply


vikash kankaria
rvikash@interaktco.com
Stephen
Top achievements
Rank 1
 answered on 12 Mar 2012
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?