Telerik Forums
Kendo UI for jQuery Forum
0 answers
368 views
hi,
is it good practice to use k-block as layout base? I can not find any documentation of it - just an example here:

http://demos.kendoui.com/web/styling/panels.html

Or is it better to use my own containers?

Thanks,
Matthias




Matthias
Top achievements
Rank 1
 asked on 01 Sep 2012
1 answer
484 views
HI,
I have used switch in listview. i want to change label of switch. i am able to made switches in listview using template. How can i change the label for the switches. My code:

<script id="StudentAttendenceTemplate" type="text/x-kendo-template">
        ${studentName} <input id="switchAttendence" data-role="switch" data-change="CraeteAttendence" type="checkbox" data-align="right" value="${studentID}"  />
 </script>

$("#listOfStudents").kendoMobileListView({
   dsData:[{studentID: "101", studentName: "Saurav" },{studentID: "102", studentName: "Sujan" }] 
                    dataSource: kendo.data.DataSource.create({ data: dsData }),
                    style: "inset",
                    template: $("#StudentAttendenceTemplate").html()
                });

Can any one suggest me the solution as soon as possible.

Thanking you,
Shree
Ron
Top achievements
Rank 1
 answered on 31 Aug 2012
3 answers
404 views
The issue happens when I try to set the next available value in combobox, here is what my scenario is.

I have a list of available items which I display in a combobox, user can select one item & assign at which point I add it to a list/table, user can remove an item from selected at which point it goes back into available list.

Now the issue occurs when the following is done
 1) Select & assign couple of items (notice next available item is selected in combobox)
 2) Remove an item from the selected list/table (item should now be available to select in combobox)
 3) Now try to select the same item & Assign again & notice the next available value in combobox.

Here is a jsFiddle where issue can be reproduced (works only on chrome) http://jsfiddle.net/navnitmehta/fHXBx/7/

I am not sure if this is an issue with kendo or kendo-knockout binding.

Thanks!
Navnit
Top achievements
Rank 1
 answered on 31 Aug 2012
0 answers
126 views
The issue is that the value() property still contains the previously selected value when the user deletes the text from the Combo input, this is causing issues when we are using it with knockout-kendo binding, basically once a value is selected; there is no way for user to un-select the value.

Here is the jsFIddle to reproduce the issue: http://jsfiddle.net/navnitmehta/vaLyw/

Further analysis specific to knockout-kendo binding can be found here: https://github.com/rniemeyer/knockout-kendo/issues/26
Navnit
Top achievements
Rank 1
 asked on 31 Aug 2012
5 answers
1.1K+ views
Hi,

I'm using MVC 4, Knockout, and the KendoUI Upload widget.

I have a simple form with several fields plus a single file upload to allow the user to upload one file.

I want it all to go back to the controller in a submit method something like "public ActionResult Submit( Model model, IEnumerable<HttpPostedFileBase> file ).  I don't want to use async uploading.

As it turns out, the model is properly populated, but both the "file" parameter and Request.Files are empty.

Could someone provide a full *working* example?  I've spent hours scouring this site, StackOverflow, and more without finding such an example.

Thanks!
Boris
Top achievements
Rank 1
 answered on 31 Aug 2012
0 answers
106 views
I am new to the Kendo UI and trying use it in the new VS2012 with JQuery 1.8.0. I used it on new MVC 4 project. I have use the sample from the Grid Basic Usage HTML page and copy it on to one of the project page, added all scripts & CSS files including the people.js data file.
First I use the NuGet to gets the Kendo UI in to the solutions, that seems does not work at all error seems to be Object does not support property or method 'kendoGrid'. Then I delete this project and create a new MVC4 solution, added Kendo UI from downloaded from Telerik Website, note that it is Open Source version. After attached to the solution, linked scripts & CSS files on to the page.
This seems to work but sometimes it pop up the same error as before.
Can someone help me, thanks in advance.
Punprom
Top achievements
Rank 1
 asked on 31 Aug 2012
0 answers
94 views
I know I'm missing something here, I have to be, although I've had the issue before and never got around it. What I'm doing is:

var ds = new kendo.data.DataSource({
     transport: {
            read: "http://localhost/HOLService/HOLService.svc/GetFiles",
            dataType: "jsonp",
            data: {
                    roleId: function() { return 1; }
               }
            },
           parameterMap: function (data, operation) {
           if (operation != "read") {
                  return { jsonData: kendo.stringify(data.models) };
            }
        }
});

ds.read();

What this does is send a call to "http://localhost/HOLService/HOLService.svc/GetFiles", but there's no roleId parameter, or callback required from JSONP.

Can anyone see what I'm missing here?


Update:
Sorry, ignore this, I didn't have my parameters in the read: {} array.
Chris
Top achievements
Rank 1
 asked on 31 Aug 2012
3 answers
181 views
Hi,

I want to call n number of kendo charts on single click of a button in MVC4 Architecture..the Charts must be dynamically bind.
Please let me know if any Method or function is there. 
T. Tsonev
Telerik team
 answered on 31 Aug 2012
9 answers
1.1K+ views
I am trying to figure out how to bulk update a checkbox column in a kendo grid.  I have a "Select All" toolbar button with the intent of updating a boolean value (from a remote datasource) across all rows of the datasource.  This button simply calls a javascript function that looks like this:

var dataSource = $("#grid").data("kendoGrid").dataSource.data();
        $.each(dataSource, function(i, dataRow) {
            dataRow.set("SomeBooleanColumn", true);
        });

This causes an automatic sync back to the server, which is not desired, I would like to control this sync manually when the user hits save.  When simply setting the "dataRow.SomeBooleanColumn = true" then attempt to save, nothing gets posted back at all.

Any help would be appreciated.
Peter
Top achievements
Rank 1
 answered on 31 Aug 2012
1 answer
124 views
Hello,

we have a page which has two bar charts in it, and recently we noticed that the bar charts are not displayed in IE8 with the following error in the console :

SCRIPT87: Invalid argument.
kendo.dataviz.min.js, line 8 character 74552

Aside from the bar charts, in the same page we have also pie chart and several grids which are working fine.
Is there any such known bug with the bar charts in IE8, and if yes is there some kind of workaround for this problem?

Thank you, Alex Kolchev
T. Tsonev
Telerik team
 answered on 31 Aug 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
Application
Map
Drag and Drop
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?