Telerik Forums
UI for ASP.NET MVC Forum
1 answer
113 views
Hello,

I would like to know if there is a reason for window.kendo.jquery being passed to functions instead of jquery.

This happens in the kendo.all.js file since Q3 2012.

Thank you.
Atanas Korchev
Telerik team
 answered on 30 Nov 2012
3 answers
1.8K+ views
I've enabled editing in the grid via the Popup mode. Is there a way to hide specific fields in my popup window?

I would like to hide my ID field seen in the attached image.

 
Robert
Top achievements
Rank 1
 answered on 30 Nov 2012
1 answer
376 views

I have application, which uses cs-CZ globalization. Everything is OK, but Kendo grid is not. Problem is in decimal separator in decimal columns. Grid calls my Action method and every sends "." instead of "," as decimal separator. There is my Action method:

 ActionResult UpdateProjectEmployee([DataSourceRequest] DataSourceRequest request, Models.ProjectEmployee employee )
 { 
    if (employee != null & ModelState.IsValid)
    {
      ...

  
My Action method fails (ModelState.IsValid is false), because MVC is not able to create my model, beacuse of decimal separator is "." and Convert methods expect "," because I use cs-CZ globalization. I thing, it is a bug in kendo Grid! I resolved this by using FormCollection instead of my model:
 
 ActionResult UpdateProjectEmployee([DataSourceRequest] DataSourceRequest request, FormCollection data )
 { 
    CultureInfo ci = new CultureInfo("en-US");
    Models.ProjectEmployee employee = new Models.ProjectEmployee();
    employee.TotalHours = Convert.ToDecimal( data["TotalHours"], ci );
 ...
 

But it is not so nice :(
 
   

Dmitry
Top achievements
Rank 2
 answered on 30 Nov 2012
1 answer
151 views
First things first...
This example does not have the correct "code behind"
http://demos.kendoui.com/web/grid/editing-custom.html

I want to create a custom-editor popup.

Actually I'd like to create a custom-editor that shows up like the detail template does...

So two questions:

  1. Where is a good example of creating a custom-editor (using Razor preferably)?
  2. Is it possible to have the custom editor display as a detailed editable template "InLine"


Daniel
Telerik team
 answered on 29 Nov 2012
1 answer
7.5K+ views
Hi, 

I am new in Kendo UI and I have some problems in using all kendo ui functionality ib my asp.net mvc 4 application.
I'va done following steps
1.download kendo ui and include it's scripts and styles in my application
2.update jquery to 1.8.2 version
3. include kendo.all.js, kendo.aspnetmvc.js, kendo.common.css and kendo.default.css in my layout.chtml
4.and there's similar code in my scripts 
   var dataSource = new kendo.data.DataSource({
                        data: movies,
                        change: function() { // subscribe to the CHANGE event of the data source
                            $("#movies tbody").html(kendo.render(template, this.view())); // populate the table
                        }
                    });
where I was given a javascript error "uncaught referenceerror kendo is not defined"

Please help me. What's wrong in my actions? What ca be the reason of such error? I wasn't able to find similar issue in your forums.

G.A.
Top achievements
Rank 1
 answered on 29 Nov 2012
4 answers
132 views
I'd like to maintain same appearance for web apps built on asp.net mvc extensions when considering migrating to Kendo UI Web.

Is there any plan to make available the same set of themes for Kendo UI Web as existed in past for Telerik ASP.NET MVC extensions?
Carl
Top achievements
Rank 1
 answered on 28 Nov 2012
0 answers
131 views
Never mind. I got it.
Shannon
Top achievements
Rank 1
 asked on 28 Nov 2012
18 answers
3.4K+ views

I'm trying to recreate a data grid that I've got working with the old MVC extensions, with the Kendo UI MVC extensions, but the documentation is virtually non-existent. Looking at the example, I've managed to get data into a grid, but it doesn't sort or filter (I'm not sure about apging, as there's only a few records at present.

The view is:-

@(Html.Kendo().Grid<PLCV2.Models.PLCVUser>() 
    .Name("Grid")
    .Columns(columns =>
    {
        columns.Bound(p => p.UserName);
        columns.Bound(p => p.FullName);
        columns.Bound(p => p.SystemAdmin);
        columns.Bound(p => p.SystemUser);
    })
    .Pageable()
    .Sortable()
    .Scrollable()
    .Filterable()
    .DataSource(dataSource => dataSource
        .Ajax()
        .Read(read => read.Action("AjaxBinding", "UserMgmt"))
    )
)

and the controller is:-
public ActionResult AjaxBinding([DataSourceRequest] DataSourceRequest request)
       {
 
           Models.PLCVdBDataContext db = new Models.PLCVdBDataContext();
           var query = from p in db.PLCVUsers
                       select p;
           //query = query.OrderByDescending(c => c.UserName);
           return Json(query.ToDataSourceResult(request),JsonRequestBehavior.AllowGet);
       }

 

How do I enable sorting and filtering?
Also, I had to add the AllowGet JsonRequestBehaviour, to get the grid to work. Your examples don't seem to require this - how?

Where is the documentation for the MVC extensions? I can only find a very brief (and very lacking!) migration overview, which fails to mention many of the server-side changes (no GridAction, the new DataSourceRequest etc..).

I'm keen to try out the new extensions, but without more documentation, it doesn't seem feasible.

 

 

 

 

 

Erik
Top achievements
Rank 2
 answered on 28 Nov 2012
2 answers
170 views
Hi everybody, 

I am working on a grid which contains a lot of data (like 100 000 rows). I was wondering how I could refresh it in case of some data would be changed in the dataSource without reload the entire grid.

Is it possible? I have been searching for the answer in the documentation and other posts but have not found anything!

I really need to figure it out asap!! 
any answer would be much appreciated
Thank you very much
martin
Top achievements
Rank 1
 answered on 28 Nov 2012
4 answers
472 views
I have downloaded Kendo UI and viewed the tutorials and I have found the documentation but it's not easy to figure out. To be honest, the documentation is like Microsoft's - that is to say if you want to know whether to write a colon or a semicolon, it's brilliant. But nowhere does it even begin to explain how to start with Kendo. Has anyone written a book from the perspective of someone new to Kendo who wants to write a project using, say ASP.NET MVC4? And if so, can anyone recommend a good book.
Sebastian
Telerik team
 answered on 28 Nov 2012
Narrow your results
Selected tags
Tags
Grid
General Discussions
Scheduler
DropDownList
Chart
Editor
TreeView
DatePicker
ComboBox
Upload
MultiSelect
ListView
Window
TabStrip
Menu
Installer and VS Extensions
Spreadsheet
AutoComplete
TreeList
Gantt
PanelBar
NumericTextBox
Filter
ToolTip
Map
Diagram
Button
PivotGrid
Form
ListBox
Splitter
Application
FileManager
Sortable
Calendar
View
MaskedTextBox
PDFViewer
TextBox
Toolbar
Dialog
MultiColumnComboBox
DropDownTree
Checkbox
Slider
Switch
Notification
Accessibility
ListView (Mobile)
Pager
ColorPicker
DateRangePicker
Security
Wizard
Styling
Chat
DateInput
MediaPlayer
TileLayout
Drawer
SplitView
Template
Barcode
ButtonGroup (Mobile)
Drawer (Mobile)
ImageEditor
RadioGroup
Sparkline
Stepper
TabStrip (Mobile)
GridLayout
Badge
LinearGauge
ModalView
ResponsivePanel
TextArea
Breadcrumb
ExpansionPanel
Licensing
Rating
ScrollView
ButtonGroup
CheckBoxGroup
NavBar
ProgressBar
QRCode
RadioButton
Scroller
Timeline
TreeMap
TaskBoard
OrgChart
Captcha
ActionSheet
Signature
DateTimePicker
AppBar
BottomNavigation
Card
FloatingActionButton
Localization
MultiViewCalendar
PopOver (Mobile)
Ripple
ScrollView (Mobile)
Switch (Mobile)
PivotGridV2
FlatColorPicker
ColorPalette
DropDownButton
AIPrompt
PropertyGrid
ActionSheet (Mobile)
BulletGraph
Button (Mobile)
Collapsible
Loader
CircularGauge
SkeletonContainer
Popover
HeatMap
Avatar
ColorGradient
CircularProgressBar
SplitButton
StackLayout
TimeDurationPicker
Chip
ChipList
DockManager
ToggleButton
Sankey
OTPInput
ChartWizard
SpeechToTextButton
InlineAIPrompt
TimePicker
StockChart
RadialGauge
ContextMenu
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?