Telerik Forums
UI for ASP.NET MVC Forum
2 answers
80 views
Hello Team;
As I was doing some checking, I see in VS under Telerik menu there is an option to convert/incorporate Kendo into an Existing ASP MVC project. As of the current version, it seems like this option takes care of all the manual steps mentioned in the docs.
However, when I was checking the doc http://docs.kendoui.com/getting-started/using-kendo-with/aspnet-mvc/introduction in the section of "Using Kendo UI in ASP.NET MVC 4 application" It seems like the doc's steps don't match with what the conversion has done.

My question is, is doc older than the conversion and needs to be updaed?
Or is the "Convert" program incomplete and we need to add additional steps to the converted steps?

I'd appreciate if you can investigate this and let us know.
Thank you in advance!
Ben Hayat
Top achievements
Rank 2
 answered on 27 Nov 2012
2 answers
142 views
I installed the Kendo UI for ASP.NET MVC Q2 2012 SP1 on my Windows 7 machine with VS 2010. I am unable to use it.

1) I have VisualSVN installed in my VS. When I try to open any project in VS I am getting a "Broken pipe" error from  VisualSVN that it also installed in my Visual Studio. I had to uninstall the Kendo UI VSExtension to get my projects to open.

2) When I try to run the demos, I am getting this error:
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: Could not load file or assembly 'System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Source Error: 

Line 21:       <assemblies>
Line 22:         <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 23:         <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 24:         <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Line 25:         <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

Source File: C:\Program Files\Telerik\Kendo UI for ASP.NET MVC Q2 2012 SP1\wrappers\aspnetmvc\Examples\web.config    Line: 23 

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.

sampath
Top achievements
Rank 1
 answered on 27 Nov 2012
1 answer
100 views
Has the functionality about which you wrote in the following post been implemented in the newest version?

http://www.kendoui.com/forums/dataviz/chart/chart-animation-speed.aspx#2124628

T. Tsonev
Telerik team
 answered on 27 Nov 2012
6 answers
1.0K+ views
How exactly do I get to the Demo pages for the Kendo MVC wrappers?

When I follow this path -> telerik.com -> Developer Tools for .NET-> ASP.Net MVC -> See Demos, I am taken the to this page:

http://demos.kendoui.com/web/overview/index.html

where I don't see any examples of using the Kendo MVC wrappers (it's just base Kendo).

I guess the same question applies to the documentation.  I see there is a section for the MVC wrappers in API, but is there something similar to the Kendo Getting Started section for the Kendo MVC controls?
KordaMentha
Top achievements
Rank 1
 answered on 27 Nov 2012
0 answers
129 views
Hi

I've upgraded to the latest version and suddenly my grids aren't working well. I cannot sort, nor use the pager when binding to remote data. I've also noticed that there is no mvc example in the remote data example of the grid.

The pager is showing a zero page count.

I am returning data in json form like so:

return Json(new DataSourceResult
            {
                Data = users,
                Total = Convert.ToInt32(count)
            }, JsonRequestBehavior.AllowGet);
This used to work well before the update.
Matthew
Top achievements
Rank 1
 asked on 26 Nov 2012
0 answers
135 views

Hi,

There is one field in table which is float and i have to insert only the float value in that but on submit i used the function for inserting the data into table and i want this numeric validation is happened on client side using jquery

Can anyone suggest me the clue??

Thanks!!!!

Servicii
Top achievements
Rank 1
 asked on 26 Nov 2012
0 answers
207 views
Is there any general advice for using Kendo Grid with style and script bundles from the ASP.NET Web Optimization framework? My web app works fine with optimizations disabled, but Firebug reports four JavaScript errors when optimizations enabled:
TypeError: f is undefined
http://localhost:53917/Scripts/Kendo/kendo.aspnetmvc.min.js
Line 9
 
TypeError: f is undefined
http://localhost:53917/Scripts/master?v=z6jNo6rVh7mOahMFu9siQ94qOttTDJz8JZAyypCOfA01
Line 1
 
TypeError: e is undefined
http://localhost:53917/Scripts/Kendo/kendo.aspnetmvc.min.js
Line 9
 
TypeError: jQuery("#Grid").kendoGrid is not a function
http://localhost:53917/Search/Index/3
Line 157
The bundle doesn't even include any Kendo files:
bundles.Add(new ScriptBundle(MasterScript).Include(
                "~/Scripts/jquery-1.8.2.js",
                "~/Scripts/jquery-ui-1.9.0.js",
                "~/Scripts/knockout-2.0.0.js",
                "~/Scripts/jquery.gritter.js",
                "~/Scripts/jquery.ui.selectmenu.js",
                "~/Scripts/Site.js"));
Are people using Kendo Grid with Web Optimizations without any errors?
flipdoubt
Top achievements
Rank 1
 asked on 23 Nov 2012
1 answer
438 views
How do i Bind object in model from dropdownlist ?


 public class Country 
    {
      public int Id {get; set;}
      public string Name{ get; set; }
    }

 public class City
    {
      public int Id {get; set;}
      public string Name{ get; set; }
      public Country Country {get; set;}
    }


Controller ....

public ActionResult Create()
        {
            var model = new City();
            ViewBag.Countries= ... //Loading all countries typeof IQuerable<Country>
            return View(model);
        }


cshtml....

@model Entities.City

      @(Html.Kendo().DropDownListFor(m => m.Country)
        .BindTo(ViewBag.Countries)
        .DataValueField("Id")
        .DataTextField("Name")
        .OptionLabel("Please select."))

public ActionResult Create(City model)
        {
 if (ModelState.IsValid) /// <<== Error here..
{
var _obj = new City()
                {
                    Name= model.Name,
                    Country = model.Country
                };
}


Error is  Model state is not valid. Because System.String cannot convert to Entities.Country
Sebastian
Telerik team
 answered on 23 Nov 2012
1 answer
190 views
We develop using Telerik MVC Q1 2012 Extensions, but we need a grid that allows multiple rows selected, so I have installed Kendo MVC and added it to my project. After the installation, I received a warning that JavaScript ambiguities might occur, and that I should run the "Telerik MVC Configure Wizard".

I have been unable to find out where the "Telerik MVC Configure Wizard" is - can anyone tell me, please?

On trying to run the project, I received the following error:

Compiler Error Message: CS0104: 'MenuOrientation' is an ambiguous reference between 'Kendo.Mvc.UI.MenuOrientation' and 'Telerik.Web.Mvc.UI.MenuOrientation'

Edit: I now have the full error message: on right clicking on the project and selecting the option to convert it to a Kendo project, it runs a process, then gives the following "Warning" message:

"The Telerik MVC jQuery inclusion may interfere with the Kendo jQuery inclusion. Consider disabling the embedded jQuery usage by running the Telerik MVC Configure Wizard"

Again - does anyone know where I can find the Telerik MVC Configure Wizard, please?
Dimo
Telerik team
 answered on 23 Nov 2012
3 answers
203 views
Hello Team;
Since Kendo is missing several of the key HTML helpers for inputbox or checkbox for data entry and we need to use the ones that come with MVC out of the box, how do we make/match the MVC standard helpers to match the skin & Theme of Kendo?

Our Data entry would look very out of place to put a @Html.TextBoxFor next to a @(Html.Kendo().NumericTextBox<double> if they don't share the same skin * theme. What's the procedure to share Keno's Skin?

Thanks!
Dimo
Telerik team
 answered on 23 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
MultiColumnComboBox
Dialog
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
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?