Telerik Forums
Kendo UI for jQuery Forum
1 answer
84 views
One navigation trend in 2013 seems to be a hidden side menu like in jqm (http://view.jquerymobile.com/1.3.0/docs/widgets/panels/).

Are there any plans for kendo mobile to implement this?
Iliana Dyankova
Telerik team
 answered on 20 Mar 2013
2 answers
76 views
My previous post in this forum...
Describe a Method's Input Parameters and Output Type exactly
...cannot be opened. Maybe the title contains a character (single quote) that brings problems when used in a link. Please correct the link and delete this thread. Thank you.

Michael G. Schneider
mgs
Top achievements
Rank 1
 answered on 20 Mar 2013
3 answers
107 views
Hi!

Can anyone help me? I have a list of addresses where I am displaying them in a single template and supposed to be showing them respectively in google map. The problem is that, it only renders the map of the first viewed address. Succeeding addresses will not.

Here is a jsbin for the issue
http://jsbin.com/asigeq/5/edit

Thanks,
James
James
Top achievements
Rank 1
 answered on 20 Mar 2013
11 answers
103 views
Hi!

I have a link that Kendo Mobile can't render. I wonder how can I activate an internal link that is saved in my database which is generated by data-show? 

Here in an example code:

<div data-role="view" id="page-skade" data-title="" data-show="pageShow" data-model="pageViewModel">
    
        <header data-role="header">
            <div data-role="navbar">
                <a class="nav-button" data-align="left" data-role="backbutton">Back</a>
                <span data-role="view-title"></span>
            </div>
        </header>
        
        <h1 data-bind="text: title"></h1>
        <p data-bind="html: content"></p> <!-- THIS CONTENT IS QUERIED FROM SQLITE: CONTENT CONTAINS INTERNAL LINK -->
        
    </div>

Best regards,
James
James
Top achievements
Rank 1
 answered on 20 Mar 2013
1 answer
563 views
                    var win = $("#script-window").kendoWindow({
                        height: "600",
                        title: "Script",
                        visible: true,
                        width: "90%",
                        iframe: true
                    }).data("kendoWindow");

                    win.refresh({
                        url: "http://localhost:57746/InboundScripts",
                        data: { name: "name" }
                    });

I am doing the above but the query string / post data name, does not get sent.  I tried also setting type: "GET" and type: "POST" but got same result either way. 

Can you help?
Dimo
Telerik team
 answered on 20 Mar 2013
4 answers
353 views
Hi.

I'm using 'kendoDropTarget' on a treeview, the drop function seems to fire the event twice in Internet Explorer. 

for example,
$("#treeview").kendoDropTarget({
        dragAndDrop: true,
        drop: droptargetOnDrop
    });

And the function: 
function droptargetOnDrop(e)
{
   alert("fires twice");
}
Alexander Valchev
Telerik team
 answered on 20 Mar 2013
1 answer
56 views
I have a web page with 2 templates. Initialy , I render the first template by this way:

1.var page1 = kendo.template($("#page1").html());
2./*...*/
3.$("#page-content").html(page1(viewModel));
4.kendo.bind($("#container"), viewModel);
The second template has a DropDownList. When the user click a button , I replace the html content with the second template, in a way  similar like the code above. The second template goes like this:

01.<script id="marked-components-detail-template" type="text/x-kendo-template">
02.       <span>   
03.       <h3> #: text #</h3>
04.        <h4 > #: description  #</h3>
05.       <select data-role="combobox"
06.             data-text-field="text"
07.             data-value-field="text"
08.             data-bind="source: markedComponents, value: comboBoxValue">
09.         </select>
10.         </span>
11.          
12.     </script>
I have another button that allows me to go from template 1 to template 2 and the other way. The problem is that the first time I render the tempalte 2 , also appears a div elements  , (one per dropdownlist, It seems ,It's related with the options box), each time I render template 2, or change  its model , It inserts more div elements until the application freezes. How Can I stop this?. 
Georgi Krustev
Telerik team
 answered on 20 Mar 2013
1 answer
304 views
I'm trying to bind the JSON data object retrieved from the servlet.

$("#mainVerticalMenu").kendoMenu({
            dataSource : new kendo.data.DataSource({
                  transport: {
                      read: {
                          url: "net/samso/action/MenuAction?func_flag=getMenu&user_id=nexol", // the servlet url
                          dataType: "json",
                      }
                  },
                  schema: { // describe the result format
                      model : {
                          fields : {
                            text : {
                                type : "string"
                            },
                            value : {
                                type : "string"
                            },
                            subItemList: [{                                    // Sub item collection
                                text : {
                                    type : "string"
                                },
                                value : {
                                    type : "string"
                                }
                            }]
                          }
                      }
                  }
            })
        });

From the servlet, the JSON format is given as follows:

Hierarchy:
Text
Value
subItemList (ItemObject nested inside the menuitem)
    - Text
    - Value

Example JSON:Which ends up looking like:

[{"text":"OuterMenu1","value":"menu1","subItemList":[{"text":"subMenuItem1","value":"subMenu1"},{"text":"subMenuItem2","value":"subMenu2"}]}]

Actual JSON I receive when calling the servlet directly:

[{"text":"Communication","value":"BASE_01","subItemList":[{"text":"상품소개조회","value":"BASE_01"},{"text":"공지사항","value":"BASE_02"},{"text":"의견수렴","value":"BASE_04"},{"text":"사용자관리","value":"BASE_05"},{"text":"받은쪽지","value":"BASE_07"},{"text":"보낸쪽지","value":"BASE_08"},{"text":"자유게시판","value":"BASE_09"},{"text":"매장/마진율 정보","value":"BASE_10"}]},{"text":"매입관리","value":"BUY_01","subItemList":[{"text":"입고/입고반품현황","value":"BUY_01"},{"text":"수평이동요청","value":"BUY_02"},{"text":"수평이동승인/조회","value":"BUY_03"}]},{"text":"판매관리","value":"SALE_01","subItemList":[{"text":"판매및반품등록","value":"SALE_01"},{"text":"판매및반품조회","value":"SALE_02"},{"text":"판매일보","value":"SALE_04"},{"text":"기간별판매현황","value":"SALE_05"},{"text":"판매순위분석","value":"SALE_06"},{"text":"판매순위표","value":"SALE_07"},{"text":"타사등록","value":"SALE_08"},{"text":"타사판매등록","value":"SALE_09"},{"text":"타사판매조회","value":"SALE_10"}]},{"text":"수불관리","value":"SUBUL_01","subItemList":[{"text":"상품주문등록","value":"SUBUL_01"},{"text":"상품주문조회","value":"SUBUL_02"},{"text":"미입고명세서","value":"SUBUL_10"},{"text":"일별수불현황","value":"SUBUL_04"},{"text":"재고현황","value":"SUBUL_05"},{"text":"수불 일/월보","value":"SUBUL_09"},{"text":"품목별수불현황","value":"SUBUL_08"},{"text":"재고조정","value":"SUBUL_11"},{"text":"타매장재고현황","value":"SUBUL_07"}]},{"text":"영업관리","value":"BUSS_01","subItemList":[{"text":"영업판매배치등록","value":"BUSS_01"},{"text":"영업판매조회","value":"BUSS_02"},{"text":"영업주문배치등록","value":"BUSS_03"},{"text":"영업주문조회","value":"BUSS_04"},{"text":"매장별 재고/수불현황","value":"BUSS_05"}]},{"text":"AS관리","value":"AS_01","subItemList":[{"text":"A/S의뢰 관리","value":"AS_01"}]},{"text":"관리자","value":"SUP_06","subItemList":[{"text":"기초코드관리","value":"SUP_06"},{"text":"시스템관리","value":"SUP_05"},{"text":"그룹관리","value":"SUP_02"},{"text":"그룹소속관리","value":"SUP_03"},{"text":"그룹권한관리","value":"SUP_04"},{"text":"매장등록현황","value":"SUP_01"},{"text":"마진율조회","value":"SUP_07"},{"text":"상품코드별권한등록","value":"SUP_08"},{"text":"거래처별상품권한등록","value":"SUP_09"},{"text":"마감현황","value":"SUP_10"},{"text":"SAP송수신기록조회","value":"SUP_12"}]},{"text":"회계","value":"ACCT_01","subItemList":[{"text":"WEB-POS 사용자현황","value":"ACCT_01"},{"text":"WEB-POS 입금등록","value":"ACCT_02"}]}]


I'd like to ask two questions:

1. The servlet is not being called at all, even though I've explicitly declared the transport URL in the datasource

2. Is the above schema correct for declaring outer menu items and nesting items inside them?
Kamen Bundev
Telerik team
 answered on 20 Mar 2013
1 answer
189 views
Hi,

I have implemented Kendo UI treeview with checkboxes control with ASP.Net MVC4.  Please find below the code

<div >
@(Html.Kendo().TreeView()
.Name("treeview")
.Checkboxes(checkboxes => checkboxes
.CheckChildren(true)
)
.Items(treeview =>
{
treeview.Add().Text("Furniture").Id("1")
.Expanded(true)
.Items(furniture =>
{
furniture.Add().Text("Tables & Chairs").Id("2");
furniture.Add().Text("Sofas").Id("3");
furniture.Add().Text("Occasional Furniture").Id("4");
});

treeview.Add().Text("Decor").Id("5")
.Expanded(true)
.Items(furniture =>
{
furniture.Add().Text("Bed Linen").Id("6");
furniture.Add().Text("Curtains & Blinds").Id("7");
furniture.Add().Text("Carpets").Id("8");
});
})
)
</div>


In Layout.Cshtml file I kept Kendo UI .js and .css script and link references

 <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/2012.3.1315/kendo.common.min.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/kendo/2012.3.1315/kendo.rtl.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/2012.3.1315/kendo.dataviz.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/2012.3.1315/kendo.default.min.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Content/kendo/2012.3.1315/kendo.dataviz.default.min.css")" rel="stylesheet" type="text/css" />

<script src="@Url.Content("~/Scripts/kendo/2012.3.1315/jquery.min.js")"></script>
<script src="@Url.Content("~/Scripts/kendo/2012.3.1315/kendo.all.min.js")"></script>
    <script src="@Url.Content("~/Scripts/kendo/2012.3.1315/kendo.all.min.js")"></script>

Thanks,
Srikanth
Atanas Korchev
Telerik team
 answered on 20 Mar 2013
3 answers
154 views
Hi All,

I am using kendoui tabstrip control on my asp.net web form.I have used different controls inside tabstrip like input,select,buttons etc ,

it works fine on browsers but when I test it on iPad , my button controls which are inside tabstrip control  do not fire click event.

Any help in this regard will be highly appreciated.

Regards
Imran

 
Dimo
Telerik team
 answered on 20 Mar 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?