Telerik Forums
Kendo UI for jQuery Forum
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
105 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
180 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
0 answers
46 views
Hi,
I'm sorry, i'm discovering kendo ui. I want to know if it's possible to add a step for increase a value in a numeric field which is in a grid ?
I tried :
 {field: "J1", title: "1",filterable: false,width:"45px", reorderable: false, format: "{0:0.0}", step:0.5 }, but it doesn't work
Thanks for your answer
jules
Top achievements
Rank 1
 asked on 31 Aug 2012
7 answers
216 views
I'm looking at the the "foreignkey column" demo for the kendoui web grid.  It looks like you can set the "values" property of the column to some data.  My question is can you specify the "text field" and "values field" of the dropdown or does the format of the JSON data have to be "value" and "text"?

demo JSON:
var categories = [{
                    "value": 1,
                    "text": "Beverages"
                },{
                    "value": 2,
                    "text": "Condiments"
                },{

Rosen
Telerik team
 answered on 31 Aug 2012
0 answers
256 views
Hello 

What is the different between Content and LoadContentFrom properties of Kendo UI's Window contorl.  I have two button in Home page.  Each button have separate window control to call corresponding partial view.  If i use content method, the customer index loaded initially, ie at the time of page load.  If i use LoadContentFrom, the DOM controls gets loaded when the window gets visible.  

For example, 
@(Html.Kendo().Window()
        .Name("CustomerWindow")
        .Title("Customer")
        .Content(@<text>
    @Html.Partial("../Customer/Index")
    </text>)
        .Draggable()
        .Resizable()
        .Width(736)
        .Visible(false)
    )

and 

@(Html.Kendo().Window()
        .Name("CustomerWindow")
        .Title("Customer")       
            .LoadContentFrom("../Customer/Index")
        .Draggable()
        .Resizable()
        .Width(736)
        .Visible(false)
        .Modal(true)
    )

I think its lazy loading concept,  but I don't know the exact difference. 


thanks
Santhosh
Santhosh
Top achievements
Rank 1
 asked on 31 Aug 2012
2 answers
205 views
Hi  All,

I am new in Kendo UI with MVC3. I am unable to create below sample page , request to help and provide sample code for below screen using Kendo with MVC3 Razor view. Very Urgent


Murali
Top achievements
Rank 1
 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
ScrollView
Switch
TextArea
BulletChart
Licensing
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
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?