Telerik Forums
Kendo UI for jQuery Forum
1 answer
164 views
Sorry if this in the documentation somewhere, but I couldn't find it. Does this upload control support chunking a file upload into multiple pieces? I need to be able to handle large file sizes, and I've found chunking to be by far the most effective way to accomplish that.
Dimiter Madjarov
Telerik team
 answered on 20 Mar 2013
3 answers
445 views

I would like to load hierarchical data and all examples that I have seen use a "lazy loading" approach. However, the amount of data that I'm loading isn't that big, so I'd like to load everything at once. Is it possible to load all of this data at once, with the detail data already being expanded? Do I need to use the detailInit function, or is there another way to achieve this?

In my specific example, I am loading events (top level) and each event has one of more items. (See the sample JSON below.) 

Events:
[{
    EventId: 1,
    Items:
        [{
    Vendor: "Company X",
    ItemName: "Chips"
        },
    {
    Vendor: " Company X ",
    ItemName: "Salsa"
        }]
    },
    {
    EventId: 2,
    Items:
   [
    {
    Vendor: " Company X ",
    ItemName: "Chips"
        },
    {
    Vendor: " Company X",
    ItemName: "Salsa"
        }]
}}
Petur Subev
Telerik team
 answered on 20 Mar 2013
1 answer
99 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
121 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
136 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
156 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
643 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
421 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
77 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
346 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
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Drag and Drop
Application
Map
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
Licensing
ScrollView
Switch
TextArea
BulletChart
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
TimePicker
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?