Telerik Forums
Kendo UI for jQuery Forum
1 answer
116 views
Hi
I am evaluating the KendoUI product and have hit the following issue when putting multiple <select> inside an <li>:

I am having to put extra select inputs (<select id="" />) in just to make them render at all,
without them it looks like alternate selects are being ignored, (eg only day and year are displayed)
Latest KendoUI release, Jquery 1.7.1, both firefox (11.0) and chrome (17.0.963.83)

Thanks

James
<
form id="">          <ul> <li><label>Date of birth</label><select id="dobDay" data-bind="source: days, value: day" /> <select id="" /> <select id="dobMonth" data-bind="source: months, value: month" /> <select id="" /> <select id="dobYear" data-bind="source: years, value: year" /> <select id="" /> </li> <li><label for="agent">Agent Name</label></><input id="agent" /></li> </ul> </form>
$("#dobDay").kendoDropDownList();
$("#dobMonth").kendoDropDownList();
$("#dobYear").kendoDropDownList();

var viewModel = kendo.observable({
	days: ["1""2""3""4"],
	day: "",
	months: ["January""Febuary""March""April"],
	month: "",
	years: ["1900""1901""1902""1903"],
	year:""
});
kendo.bind($("form"), viewModel);
PS: In firefox this editor doesn't wrap text when it gets to the edge of the text area, it just carries on and you cant see the text.....
Dimo
Telerik team
 answered on 02 Apr 2012
2 answers
81 views
Hi,

   I'm using DataViz trial version and trying to draw multi line, but when browser load it's freeze and not show anything, but when i'm input with only one line it's work. 

Thank you.
ps. sorry for my english again.. ^_^
Tanawatra
Top achievements
Rank 1
 answered on 02 Apr 2012
0 answers
74 views
In general I guess I am asking what are people doing in the select: method.

I would like some feedback on the following

<ul id='myMenu'>
<li data-handler='miItem1;'> item 1 </li>
<li data-handler='alert("!")> item 2 </li>
</ul>

and
$('#myMenu').kendoMenu({
  select:
function (e) {
   
var handler;
   
if (handler = $(e.item).data('handler')) {
      Function (handler)();  /* construct and execute handler */
    }
  }
});

function miItem1() {
  alert('menu Item 1');
}

Thanks,

Richard
Richard
Top achievements
Rank 1
 asked on 02 Apr 2012
2 answers
710 views
Can the grid support dynamic grouping like the Wijmo grid? i.e.: drag headers up into the grouping bar to group by different columns: http://wijmo.com/demo/explore/#grid|group-area 

And, the auto-totals? http://wijmo.com/demo/explore/#grid|totals

Thanks,
Gareth.
Gareth
Top achievements
Rank 1
 answered on 01 Apr 2012
0 answers
78 views
Hi

How to Use Mvvm for Nested Collection Containing a model in Mvc3..
Sriram
Top achievements
Rank 2
 asked on 01 Apr 2012
0 answers
140 views
use this api controller:
public class PersonController:ApiController
{
      // other codes...
       public HttpResponseMessage PostNewPersons(IEnumerable<PesonDTO> people)
        {
            foreach (PersonDTO dto in people)
                _personAppSrv.Create(dto);
            return new HttpResponseMessage(HttpStatusCode.Created);
        }
    // other codes...
}

use DataSource in webpage:

var ds = new kendo.data.DataSource(
{
transport:{
create: {
                        url:  "/api/person",
                        dataType: "json",
                        type:"Post",
                        contentType: 'application/json;charset=utf-8'    // important!!
                    },
//other codes
  parameterMap: function (options, operation) {
                        if (operation !== "read" && options.models) {
                            return JSON.stringify(options.models);
                        }
                }
,
batch:true,
//other codes
});

I use gird to run  batch operation like example. If I don't set contentType to 'application/json;' in code above, the request content's contentType is 'application/x-www-form-urlencoded'! Then the api controller can't convert request content data to 'PersonDTO' instance. If I set it, it works well.

If anyone has more better solution, please tell me ,thanks.
Nick Wu
Top achievements
Rank 1
 asked on 01 Apr 2012
1 answer
307 views
We need the ability to incrementally load child elements of tree nodes OnDemand.  Large enterprise hiearchies require this to reduce the load time for the tree branches that users may never uses.  Do you plan to formally support this type of event and if so when it might be available.

Thanks
Paul
Christopher
Top achievements
Rank 1
 answered on 01 Apr 2012
0 answers
45 views
Hi, I wonder if I can help, I have two grid; grid1 I have it on a panel and want to deploy to select is passed to grid2 as an aggregate.

the grid of the multiple choice Grida
and grid B would like inline edit.

the idea I have is to take the function and to create trigger on Grida while selecting the row. but that part is not how to do.


thanks in advance
Ricardo
Top achievements
Rank 1
 asked on 31 Mar 2012
2 answers
194 views
Hi I am experiencing some major issues in trying to call Kendo UI methods. My Chrome browser is returning errors such as the following: 

Uncaught TypeError: Cannot call method 'enable' of undefined
Uncaught TypeError: Cannot read property 'confirmation' of undefined

etc.

I have tried calling methods on the Kendo grid and the Dropdown and am experiencing the same issue. The methods simply don't seem to exist or else the UI elements are not visible?


Conor
Top achievements
Rank 1
 answered on 31 Mar 2012
0 answers
121 views
The documentation shows a minimalist example of DataSource of
dataSource: [
            {
                text: "Item 1",
                items: [
                    { text: "Item 1.1" },
                    { text: "Item 1.2" }
                ]
            },
            { text: "Item 2" }
        ]

The source code for treeview template suggests there might be other properties, such as expanded, allowed in the dataSource.

I tried this which did not seem to work
text: "Item 1", expanded: true,
                items: [
                    { text: "Item 1.1" },
                    { text: "Item 1.2" }

Is treeview data source restricted to having only the properties items: and text: ?
Richard
Top achievements
Rank 1
 asked on 31 Mar 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?