Telerik Forums
Kendo UI for jQuery Forum
1 answer
63 views
Hello,

 I downloaded and gone through the demos. We have requirement of  Doughnut Chart types .
 Is kendo UI supported by Doughnut Chart types ..?

Thanks,
Rajesh
Hristo Germanov
Telerik team
 answered on 20 Mar 2012
1 answer
120 views
It´s possible to build range chart to display on ipad?

Where can I find examples?

Thanks!
Iliana Dyankova
Telerik team
 answered on 20 Mar 2012
1 answer
315 views
Hello,

I'm trying Kendo UI mobile. I would like to have the inset style for a databound listview. I just added 'data-style="inset"' to your sample (http://demos.kendoui.com/beta/mobile/listview/databinding.html), but it doesn't seems to work.
How can I achieve this ?

Cordially,
Kakone.
Petyo
Telerik team
 answered on 20 Mar 2012
2 answers
157 views
Hi,

I use at the moment the grid from Q1 Beta. I use the editing inline method for the grid and I would like use a button (passButton) in each row, after "edit cancel" cell. But I don't see a button, only "..."! When i click edit, I see a button.... It is a bug or...????

$("#grid").kendoGrid({
                        dataSource: dataSource,
                        navigatable: true,
                        pageable: true,
                        sortable: true,
                        height: 400,
                        filterable: false,
                        toolbar: [
                                  { name: "create", text: "<?php echo $this->translate("Add Account"); ?>" }
                              ],
                        columns: [
                            { field: "Company", width: "120px", title: "<?php echo $this->translate("Company"); ?>" },
                            { field: "Name", width: "120px", title: "<?php echo $this->translate("Name"); ?>" },
                            { field: "Email", width: "200px", title: "<?php echo $this->translate("Email"); ?>" },
                            { field: "AccountID", width: "150px", title: "<?php echo $this->translate("Account ID"); ?>" },
                            { field: "Active", width: "60px", title: "<?php echo $this->translate("Active"); ?>" },
                            { field: "Date", width: "110px", title: "<?php echo $this->translate("Expired"); ?>", template: '#= kendo.toString(Date,"dd.MM.yyyy") #' },
                            { command: [
                                        {name: "edit"},
                                        {name: "destroy"}
                                       ]
                            },
                            { field: "PassButton", width: "60px", title: "<?php echo $this->translate("Send"); ?>", template: "<input type='button' class='k-button k-button-send' value='' onclick='myFunction(\"#=AccountID#\")'/>" }
                        ],
                        editable: "inline"
                    });

Best regards
Damir
Damir
Top achievements
Rank 1
 answered on 20 Mar 2012
0 answers
69 views
       <script type="text/javascript" >
            $(document).ready(function(){
                $("a[href ^= 'contractdetailed1.jsp']").click(function(){
                    alert("xxxxxxx");
                    return false;
                });
 var inlineTemplate = kendo.template("<a href='contractdetaile.jsp?id="+'#= num #'+"'>#= num #</a>");
...
...
...
columns: [
                        { title: "CustomNum", field: "num", width: 130,template:inlineTemplate}
           });
        </script>
Now, I click on the column num, no alert play out, not this event is activated, why? 
Seaman
Top achievements
Rank 1
 asked on 20 Mar 2012
2 answers
210 views
Hello fellow Kendo's,

sorry to be n00by, probably it's very simple...
I am trying to read out a value of a dropdown-list to pass to a php file for mysql query...

Attached is the file, you can also see it live here:
http://www.trinamic.com/psearch/

Upon selecting a motor type, i can already coax out an alert, but how do i get the value in there?

I've tried a variety of stuff:
(motor.text());

and

var mdropdownlist = $("#motor").data("kendoDropDownList");
var text = mdropdownlist.text(); 

but to no avail...

Can anyone help? It would be much appreciated ; )


Kind regards from Germany, Ubbo
Jan Ubbo
Top achievements
Rank 1
 answered on 20 Mar 2012
1 answer
120 views
When a dropdown menu overlaps another control, selecting an option will also execute the click command of that control.  This applies to the combobox and autocomplete as well.

To duplicate:

1. go to the dropdownlist demo
2. click on the "Cap Size" menu
3. select "M - 7 1/4" by putting your finger on the text
4. This will also click on the "customize" button

This is probably just part of dealing with touch devices, but I am wondering if you can give some suggestions for a work around.  I was thinking maybe disabling other controls when the menu is open and then re-enabling them.  I'm going to play around with it but just wanted to get any ideas Telerik support or the community might have.
Georgi Krustev
Telerik team
 answered on 19 Mar 2012
0 answers
118 views
Hi,

i create this to get grid info from mysql database:

<div id="grid"></div>
 <script>
             
                 
                $(document).ready(function() {
                    $("#grid").kendoGrid({
                        dataSource: {
                                                 
                            transport: {
                                read: {
                                    url: "page.php",
                                    type: "post",
                                    dataType: "json"
                                }
                            },
                            schema: {
                                 
                                data: "data",
                                total: "pageSize"
                                 
                            },
                            pageSize: 200,
                            serverPaging: true,
                    serverSorting: true
                        },
                        
                         
                         
                        height: 450,
                        scrollable: true,
                        groupable: true,
                        sortable: true,
                        filterable: true,
                        pageable: true,
            selectable: "multiple row",
                         
                        columns: [
                            {
                                field: "sel",
                                template: "<input type=\'checkbox\' id=\'select\' name=\'sel\' value=#=ARTICLE_ID#  />",
                                filterable: false,
                                sortable: false,
                                groupable: false,
                                width: 50
                            },
                            "CODE",
                            
                            {
                                field: "CATEGORY_NAME",
                                title: "CATEGORY"
                                 
                            }
                            ,
                            "ARTICLE_NAME",
                                 
                            {
                                field: "edit",
                                template: "<a class=\'link_page\' href=\'/gestionale/factory/article/edit/id/#=ARTICLE_ID#\'>Edit</a>",
                                filterable: false,
                                sortable: false,
                                groupable: false,
                                width: 50
                            },
                        ]
                    });
                });
            </script>

my page.php

i do a query with an inner join

select a.NAME as ARTICLE_NAME,a.CODE,c.NAME as CATEGORY_NAME from T_ARTICLE as a inner join T_CATEGORY as c on a.CATEGORY_ID = c.ID

i do serverSorting because the table have more rows (300.000). When i click on TH CATEGORY_NAME the script run a ajax call to page.php and passes through POST the sort array  with the FIELD CATEGORY_NAME, but the query is wrong because in ORDER clause i don't insert CATEGORY_NAME, i would insert c.NAME. 
Is it possible to define the name of the fields that i will use in the sort and filter?

Thanks 



 
Roberto
Top achievements
Rank 1
 asked on 19 Mar 2012
1 answer
55 views
Hello,
I use a Grid with a XML datasource. When some elements in the xml are ' ' instead of strings, the corresponding cell shows 'undefined' with IE. The same site with Firefox shows the space character.
Is there a workaround in the grid definition or in the XML ?
Regards
Rosen
Telerik team
 answered on 19 Mar 2012
3 answers
242 views
I have been trying many ways to bind the listview to an ASP.Net .asmx web service. I have attached the code for both the consuming page and the web service.

I have tried many different ways to return the data from the web service and event tried to just return a string array. The listview works if you bind it to the static flatData var.

Any help or examples would be great!

R

Client side:

</

 

head>

<

 

body>

<form id="form1" runat="server">

<div data-role="layout" data-id="mxl" data-platform="ios">

<div data-role="header">

MobileXus Header

</div>

<div data-role="footer">

iOS MobileXus Footer

</div>

</div>

<div data-role="view" id="flat" data-init="mobileListViewDataBindInitFlat" data-title="ListView" data-layout="mxl">

<ul id="listview">

</ul>

</div>

<script type="text/javascript">

 

var flatData = ["Sashimi salad", "Chirashi sushi", "Seaweed salad", "Edamame"];

function mobileListViewDataBindInitFlat() {

$(

"#listview").kendoMobileListView({ dataSource: flatData });

}

var deviceJDS = new kendo.data.DataSource({

transport: {

read: {

contentType:

"application/json; charset=utf-8",

type:

"POST",

data:

"{}",

dataType:

"json",

url:

"WebServices/TestService.asmx/GetList"

}

}

});

var app = new kendo.mobile.Application();

</script>

</form>

</

 

body>

</

 

html>



Web service:

///

 

<summary>

///

 

Summary description for TestService

///

 

</summary>

[

WebService(Namespace = "http://tempuri.org/")]

[

WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]

// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.

[System.Web.Script.Services.

ScriptService]

public

 

class TestService : System.Web.Services.WebService {

public TestService () {

//Uncomment the following line if using designed components

//InitializeComponent();

}

[

WebMethod]

[

ScriptMethod(ResponseFormat = ResponseFormat.Json)]

public Array GetList() {

DeviceSvc.

Device dsvc = new DeviceSvc.Device();

DeviceSvc.

Device1[] devices = null;

ArrayList devlist = new ArrayList();

devices = dsvc.SelectAll();

foreach (DeviceSvc.Device1 d in devices)

{

devlist.Add(d.Name);

}

string[] data = { "Rod", "Karen", "Jamie", "Christopher" };

return data;

}

}

Alexander Valchev
Telerik team
 answered on 19 Mar 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?