Telerik Forums
Kendo UI for jQuery Forum
2 answers
1.4K+ views
How can I convert a datasource which is an array of "object" 3 columns per row in kendoui grid to a json object I can send into an mvc controller?

Thank you,
Jerry
Top achievements
Rank 1
 answered on 28 Apr 2012
0 answers
114 views
Hi, I'm new to KendoUI and JS based UI framework.
I wonder if I can decompose complex UI page/form into "UserControls"(like asp.net) and then
A. use "Contianer" ,
B. or even something like "Region Import"(in Prism) technology,
to compose them.
I go through the TabStrip and Window KendoUI controls and find them can act as a "Container" and load content from other seperated files,
so I think option A above is achievable, but how should I do?
Further, when using Prism, sivlerlight applications can make views as plugins and auto imported into ShellView by IoC container,
is there a same technology in KendoUI or jQuery, or something else.

Please show me a way out, thanks in advance.:-)
Herbert
Top achievements
Rank 1
 asked on 28 Apr 2012
0 answers
104 views
We are looking for some Kendo UI designers/developers, but it seems that Kendo is still a bit new in the general development community.    Any suggestions?   Or does anyone know of someone who would be interested?  

If you don't want to post here, you can send me a note at 'info' at-sign 'carpedatuminc.com'.

Steven
Top achievements
Rank 1
 asked on 28 Apr 2012
0 answers
91 views
How to add the date by 2 days from the current date by default when the page is displayed using datepicker

$(

 

"#toDate").kendoDatePicker({

 

value:

 

new Date(),

 

min:

 

new Date(1950, 0 ,1),

 

max:

 

new Date(2049,11,31)

 

})

Here by default it is giving current date for example 4/27/2010, but I wanted it to diplsay by + 2 days i.e 4/29/2012.
How can I achieve this?


Brahmaiah
Top achievements
Rank 1
 asked on 27 Apr 2012
4 answers
590 views
Hi,

Do you have a code sample that demonstrates how to bind a grid to a remote webservice (normal SOAP webservice)

http://demos.kendoui.com/web/grid/remote-data.html 

Thanks!
Richard
Top achievements
Rank 1
 answered on 27 Apr 2012
0 answers
80 views
Hello,

I am currently attempting to implement a kendo grid with server grouping and server paging enabled.  The pageSize is set to 10.  And without grouping turned on when I pass the grid data, it returns 10 rows of data as expected per page.  However, when I enable server grouping, and I pass the necessary data to the grid, it returns 10 groups and ALL the data within each row which is way more than 10 data rows.  Is it possible to have the kendo grid only return 10 data rows when grouping is enabled and NOT 10 groups of data?

Thanks,
Susan
Susan
Top achievements
Rank 1
 asked on 27 Apr 2012
0 answers
167 views

Using KendoUI Line graph, I have multiple series of data and I'd like to show in the tooltip additional data pertaining to a single series of data in the tool tip. In this case I want to show the survey count in the tooltip for each product. I also have a market segment that represents the average of all products in the database in which I don't want to show the data. So for Market Segment I don't want to show the Survey Count.

How do I go about doing this?

This link is to my failed jsFiddle Project: http://jsfiddle.net/rodneyhickman/uMTnh/9/

In the jsFiddle project above I get the survey count for the first product they way I want it for product 2, product 3, etc. For the Averages (Market Segment) I don't want to show a survey count. 

My markup:

<div  >
   
<div id='chart'  ></div>
</div>

​ My JavaScript:

jQuery(function() {

var myData = [
   
{
       
"product1": 86.61,
       
"product2": 85.23,
       
"marketsegment": 80.17,
       
"date": "Mar 2011",
       
"surveyCountProduct1": "2",
       
"surveyCountProduct2": "4"
   
},
   
{
       
"product1": 87.61,
       
"product2": 84.23,
       
"marketsegment": 81.12,
       
"date": "Mar 2011",
       
"surveyCountProduct1": "2",
       
"surveyCountProduct2": "3"
   
},
   
{
       
"product1": 87.91,
       
"product2": 85.53,
       
"marketsegment": 81.57,
       
"date": "Mar 2011",
       
"surveyCountProduct1": "2",
       
"surveyCountProduct2": "4"
   
},
   
{
       
"product1": 88.22,
       
"product2": 85.23,
       
"marketsegment": 81.90,
       
"date": "Mar 2011",
       
"surveyCountProduct1": "2",
       
"surveyCountProduct2": "4"
   
},
   
{
       
"product1": 88.61,
       
"product2": 86.13,
       
"marketsegment": 79.17,
       
"date": "Mar 2011",
       
"surveyCountProduct1": "2",
       
"surveyCountProduct2": "5"
   
}
];

jQuery
('#chart').kendoChart({
    title
: {
        text
: "Overall Score out of 100",
        align
: "left",
        font
: "18px Arial, Verdana, sans-serif",
        color
: "#444"
   
},
    seriesDefaults
: {
        type
: "line",
        missingValues
: "interpolate"
   
},
    legend
: {
        position
: "bottom"
   
},
    tooltip
: {
        visible
: true,
       
template: "<b>#= series.name #</b><br/>#= dataItem.date #<br/>#= value #<br/>Survey Count= #= dataItem.surveyCountProduct1 #"
   
},
    valueAxis
: {
        min
: 75,
        max
: 95,
        plotBands
: [{
           
from: 75,
            to
: 80,
            color
: "#f5f5f5"
       
},
       
{
           
from: 85,
            to
: 90,
            color
: "#f5f5f5"
       
},
       
{
           
from: 95,
            to
: 100,
            color
: "#f5f5f5"
       
}]
   
},
    dataSource
: {
        data
: myData
   
},
    series
: [
       
{
            name
: "Some Product 1",
            color
: "#004990",
            width
: 1,
            field
: "product1",
            markers
: {
                background
: "#004990"
           
}
       
},
       
{
            name
: "Some Product 2",
            color
: "#8a7967",
            width
: 1,
            field
: "product2",
            markers
: {
                background
: "#8a7967"
           
}
       
},
       
{
            name
: " Market Segment Average",
            color
: "#da7633",
            width
: 1,
            field
: "marketsegment",
            markers
: {
                background
: "#da7633"
           
}
         
}],
         categoryAxis
: {
         labels
: {
            rotation
: -45,
            step
: 1,
            skip
: 0
       
},
        categories
: ["Mar", "Apr", "May", "Jun", "Jul"]
       
}
   
});
});​

Any help would be appreciated.

Rodney
Top achievements
Rank 2
 asked on 27 Apr 2012
2 answers
123 views
Consider a tree built by drag and drop.  Dropped nodes are added to the tree.  Then the user uses tree drag and drop to rearrange and/or change level of the tree nodes.

How would I obtain the 'data' the that the treeview is currently presenting ?

Thanks,
Richard
King Wilder
Top achievements
Rank 2
 answered on 27 Apr 2012
1 answer
146 views
iam trying to insert the textbox data into listbox on button click but the foolowing code isn't adding data into listbox


$(document).ready(

function () {

$("#click").click(function () {

 var val = document.getElementById('textboxs').value;

 var View = $("#listView").data("kendoListView");

 View.add(val);

});

});






<

td style="width: 141px">

 <ul id="listView" />

 </td>

 </tr>

 <td>

 <input type="text" id="textboxs" name="textname" />

 <input type="button" id="click" value="Add" />

  </td>

 

rlapao
Top achievements
Rank 1
 answered on 27 Apr 2012
0 answers
117 views
Greetings to all
 I was wondering if I could design a template for the labels of the series in my chart, for example how I attached below.


template: "<center><b><font size=2>#= dataItem.Title #</font></b></br><b>Name: </b> #= dataItem.Name #</br><b>Count:</b>#= dataItem.Count #</center>"

I did a test but the conten of my label appears outside of my series


What other options could be used?
Any ideas?


Thanks for your help

M.
Monique
Top achievements
Rank 1
 asked on 27 Apr 2012
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
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?