Telerik Forums
Kendo UI for jQuery Forum
0 answers
120 views
Here is calling code:
$(document).ready(function () {
    var tipaiindeksai = new kendo.data.DataSource({
        transport: {
            read: {
                url: "http://localhost:11336/Mobile/GetTipaiIrIndeksai",
                dataType: "jsonp",
                jsonp: "d"
                //cache: false,
                //jsonpCallback: "callback"
            }
        },
        schema: {
            data: ""
        }
    });
    var ats = tipaiindeksai.read();

and tipaiindeksai.read(); returns undefined.

The call looks like this:
http://localhost:11336/Mobile/GetTipaiIrIndeksai?d=jQuery1710758081869687885_1337762101342&_=1337762101615

And it returns:
HTTP/1.1 200 OK
Server: ASP.NET Development Server/10.0.0.0
Date: Wed, 23 May 2012 08:35:01 GMT
X-AspNet-Version: 4.0.30319
X-AspNetMvc-Version: 4.0
Cache-Control: private
Content-Type: application/json; charset=utf-8
Content-Length: 939
Connection: Close
 
jQuery1710758081869687885_1337762101342([{"ID":0,"pav":"asd","indeksas":141.8},{"ID":10,"pav":"asdasd","indeksas":101.7}])

So it returns something, but it seems that DataSource can't parse it correctly as its result is undefined.
Please help to make it work :)
Wirusiux
Top achievements
Rank 1
 asked on 23 May 2012
3 answers
346 views
Hi,

I am using the grids popup edit mode and below are the issues that i am facing.

1) The popup title is "Edit" irrespective of whether i am adding a new record or editing. How do i change the title to "Create" when i am adding a new record.
2) I want one of the field to be disabled on edit but enabled while adding the record. If i set the fields editable flag to false, the field is disabled even while adding a record.

Regards,
Sarvesh
Alexander Valchev
Telerik team
 answered on 23 May 2012
3 answers
81 views
Hi!

Is there a download for he non-minimized version? Perhaps the GPL version?

I want to add support for KendoUI to Illuminations for Developers (http://www.illuminations-for-developers.com/), but need a better understanding of how things work internally, and would rather not un-minimize the code myself.

I may have a few more questions after I look through the code, so I'll try and keep that to just this thread, even if the subject matter varies from UI to Data, etc. Let me know if that is a bad idea.

Thanks in advance!

-steve--
Atanas Korchev
Telerik team
 answered on 23 May 2012
3 answers
99 views
When I turn grouping on, my columns get out of order. I don't want the column I am grouping on to show in my grid since I am using ID's that will mean nothing to the user. I am also using a script template.

I also don't want a title in the group header. I just want a blank line.


How do I achieve this? Getting columns to line up and removing the header text.

Code attached.
Nikolay Rusev
Telerik team
 answered on 23 May 2012
1 answer
195 views
i have created an input box using html "form " tag and tried to give the kendo UI script inside this file.What i found is really surprising..
the inputbox disappeared and it showed loading and it is still there for along time.
what i added is
<script>
window.kendoMobileApplication=new kendo.mobile.Application(document.body)
</script>

i was trying this in the google chrome browser.

Thanks,
Swarup
Kamen Bundev
Telerik team
 answered on 23 May 2012
6 answers
166 views
Tried with Chrome and Internet Explorer. Just a blank page and no downloads going on.

Jonathas
Atanas Korchev
Telerik team
 answered on 23 May 2012
1 answer
116 views
I am using splitter and would like to target the content load on click of menu item onto a specific pane. Can we specify this in menu item definition ?


{
  text: "Home",
  url: "http://www.kendoui.com"               
}
Kamen Bundev
Telerik team
 answered on 23 May 2012
0 answers
221 views
I need a numerictextbox whose initial value seems '0' but when first up/down button hit, the real initial value will come.
Is it possible to do that?
I try the code below but on spin event when e.sender._value is set to firstPrice, change event is called and i can see that e.sender._old value is still the unchanged value.
$("#txtPrice").kendoNumericTextBox({
                decimals: 5,
                step: 0.00001,
                format: '#.00000',
                min: 0
            });
var firstPrice = 0.89889;
var numeric = $("#txtPrice").data("kendoNumericTextBox");
            numeric.bind("change", function (e) {
                if (e.sender._old == 0)
                    e.sender._value = firstPrice;
            });
            numeric.bind("spin", function(e) {
                if (e.sender._old == 0)
                    e.sender._value = firstPrice;
            });
 
 
<asp:TextBox ID="txtPrice" runat="server" ClientIDMode="Static" Text="0"></asp:TextBox>
Ozge
Top achievements
Rank 1
 asked on 23 May 2012
1 answer
192 views
Hello,
we're trying to create a unified control suite for every application that use Kendo Web controls. Part of the unification process is to make all controls UI & UX to be the same. Unified look & feel is easy to achieve by creating a theme and use the same CSS file for all applications, however, we don't know how to make the UX to be the same. for example: pagesize, sorting, grouping for grid.

is there a way to achieve this goal? besides creating wrappers for every control to instanciate it with the same configuration? like:

function CreateGrid()
{
   return this.KendoGrid([{...}]);
}

Thank you in advance
Iliana Dyankova
Telerik team
 answered on 23 May 2012
0 answers
86 views
Hi 

I have a table with id and name.
And i want the names of table to be the names of the tabs.
Can anyone help me  how can i do that 
srinivas
Top achievements
Rank 1
 asked on 23 May 2012
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?