Telerik Forums
Kendo UI for jQuery Forum
3 answers
199 views

I am working with the good example of Editing custom editor under the MVC examples.
It shows how to build a dropdownlist for use when editing a cell in a grid.
I have to create a new post in the grid and I add the following to the file; Editing_Custom.cshtml:

.Create(create => create.Action("EditingCustom_Create", "Grid"))
.ToolBar(toolBar => { toolBar.Save(); toolBar.Create(); })

And I already get an error here before I come to do the coding in the .cs-file.
When debugging with firebug, I get an error from javascript that says: ReferenceError: Employee is not defined.
Employee is the class that is used for making the dropdownlist.
Could someone please give me a hint on what I have to do when creating a post in a grid with relational data?
Thanks :o)

Kenneth
Top achievements
Rank 2
 answered on 16 Aug 2012
4 answers
2.8K+ views
I'm wondering how a datasource that returns data--like the person object here--which mixes fields with an array in it would look?  For example, how would the model in the schema of the datasource look?  If the fields (like Lastname here) were bound to textboxes thru  data-bind attributes, how would the array of Likes be extracted to be display in, say, a grid. Do we use a function to return the grid's data, a hierarchical datasource to build the whole thing or what?


var person = [
    { Firstname: "Jim"},
    { Lastname: "Smith" },
    { Birthday: "08/29/1979"},
    { Likes: [ { id: 1, description: "Baseball", rank: 1 }, {id: 2, description: "music", rank: 3 }, { id: 3, description: "Surfing the web", rank: 2}]}
];
Devon
Top achievements
Rank 1
 answered on 16 Aug 2012
1 answer
137 views
I get a Yellow Screen when trying to Run the Kendo UI Samples from the Downloaded Sample Browser.

When i try to build the Solution I get:
Warning as Error: Reference to type 'System.Web.Mvc.ModelClientValidationRule' claims it is defined in 'c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\Assemblies\System.Web.WebPages.dll', but it could not be found    c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 4\Assemblies\System.Web.Mvc.dll

I have MVC2,3 and 4 installed.

Any help out there for this?
Atanas Korchev
Telerik team
 answered on 16 Aug 2012
5 answers
202 views
Hi,

I am trying to use the Calendar in an Embedded WebView hosted by a Window Container. I am using QTWebbkit.

The WebView show all the basic HTML widgets perfectly, when I execute $("#calendar").kendoCalendar the Caledar appears perfectly,
but the events do not work. For instance if I click to see the next Month nothing happens or if I click in a day it does not become selected.

Do you have any suggestions ?

Thanks
michael
Top achievements
Rank 1
 answered on 16 Aug 2012
1 answer
288 views
Hi,

I am using a scatter chart to display time series with many data points.
This as suggested as "another option" in the post http://www.kendoui.com/forums/ui/chart/overlapping-categoryaxis-labels.aspx.

Because there are many data points, I would like to suppress the bullets.
If not, the chart looks rather messy.

Could anyone advice me on how to suppress bullets in scatter and line charts ?

Thanks in advance,
Wouter
Wouter
Top achievements
Rank 1
 answered on 16 Aug 2012
0 answers
58 views
Hi

I am going to use kendo Grid in my MVC razor application. My application requires the grid controller like time availability checker. Am explaining my scenario below

I will be having the grid with the 7day columns (Monday to Sunday) and the other column named as Day. 

The first row will be with the name the available. in that the Day column will be available and  the remaining columns will be check box with option yes.

The second row will be with the name available. In that the day column is having the value start and the other columns will be the drop down with the values of time.

The second row will be with the name Available. In that the day column is having the value Finish and the other columns will be the drop down with the values of time. 


How to implement this scenario using Kendo Grid? Is it possible to achieve this? If so provide me the sample code.



Thanks
Lakshmi t
Top achievements
Rank 1
 asked on 16 Aug 2012
3 answers
550 views
How to set column width depending on the width of it's cell maximum width or set it auto size?   
Dimo
Telerik team
 answered on 16 Aug 2012
1 answer
280 views
I'm curious if it is supported to connect a grid that is initialized from a table with a dataSource for future paging calls?

For example - page 1 comes down pre-rendered with the HTML payload; user hits the next page link and the grid now uses AJAX to pull down JSON for the next set of items and renders them on the table.
Petur Subev
Telerik team
 answered on 16 Aug 2012
1 answer
81 views
Hi, I am new in Kendo UI, I want to apply Kendo UI in my web project.
I want to use globalization of Kendo UI to biliingulize my web project, does anybody know where can I find the details tutorials of how to use it? I read some introduction in this site, but it is so simple, I want to know the details of steps by steps of how to make a webiste bilingulized. I appreciate if anybody can provide an examples or URL links. Thanks a lot,

Peter
Petur Subev
Telerik team
 answered on 16 Aug 2012
3 answers
131 views
I am using the ios theme in a phonegap application.  Everything is working great, except on one page when I programatically create a listview from a datasource, the vertical stripped background goes white.  

It happens when the photoList listview is created by calling the following:

$("#photoList").kendoMobileListView({
    dataSource: photoDataSource,
    template: kendo.template($("#photoListTemplate").html())
 });

<script type="text/x-kendo-tmpl" id="photoListTemplate">
<a onclick="editPicture('${data.photo_id}');">
<img class="item-photo" src="${data.imageURI}">
<h3 class="item-title">${data.title}</h3>
<p class="item-info">(Click to edit)</p>
</a>
<a data-role="button" class="delete-link" onclick="removePicture('${data.photo_id}');">Remove</a>
</script> 

<ul data-role="listview" data-style="inset" data-type="group">
<li>Property
<ul>
<li style="text-align:center;"><h4 id="propertyInfoDisplay"></h4></li>
<li style="text-align:center;">
<a onclick="showCameraOptions();" data-role="button">Photo</a>
<a onclick="uploadThisPropertyPhotos();" data-role="button">Upload</a>
<a onclick="showMap();" data-role="button">Map</a>
</li>
</ul>
</li>
<li>Photos for upload
<ul id="photoList"></ul>
</li>
</ul>

Thanks in advance!
Francois Lorrain
Top achievements
Rank 1
 answered on 15 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
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
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?