Telerik Forums
UI for ASP.NET MVC Forum
3 answers
58 views
for ScatterLine chart, if the baseUnit is "weeks", how could I set the seekStartDay to Monday?  I try 
             xAxis:{
                baseUnit:"weeks",
                min: new Date('2014-01-25'),
                weekStartDay:1
              },

But it did not work for ScatterLine chart.  The start day is always Sunday.  
Hristo Germanov
Telerik team
 answered on 21 Aug 2014
3 answers
390 views
I was wondering whether Telerik intended to produce VB.net examples as they did with the AJAX ASP.NET tools?

Translating controller code is easy with the Telerik Code Translator, but the translator doesn't understand Razor markup and therefore translation can be a bit hit-or-miss and is time consuming.

It would be good to know if there is no intention to do this in the future.

Many thanks
Richard
Sebastian
Telerik team
 answered on 21 Aug 2014
1 answer
152 views
Having learnt that Gantt doesn't (yet) support passing models to views I am attempting to engineer a datasource/service driven Gantt chart.

View is:
<div class="gantt-wrapper">
    @(Html.Kendo().Gantt(Of IMS_2.Models.Task, IMS_2.Models.Dependency)().Name("gantt") _
    .Columns(Sub(columns)
                     columns.Bound(Function(c) c.ID).Title("ID").Width(50)
                     columns.Bound("title").Editable(True).Sortable(True)
                     columns.Bound("start").Title("Start Time").Format("{0:MM/dd/yyyy}").Width(100).Editable(True).Sortable(True)
                     columns.Bound("end").Title("End Time").Format("{0:MM/dd/yyyy}").Width(100).Editable(True).Sortable(True)
             End Sub) _
          .Views(sub(views)
                         views.DayView()
                         views.WeekView(Function(weekView) weekView.Selected(True))
                         views.MonthView()
                         End Sub) _
                         .DataSource(Function(d) d.Read(Function(read) read.Action("ReadTasks", "Gantt")).Model(Sub(m)
                                                                                                                        m.Id(Function(f) f.ID)
                                                                                                                        m.ParentId(Function(f) f.ParentID)
                                                                                                                        m.OrderId(Function(f) f.OrderID)
                                                                                                                        m.Field(Function(f) f.Expanded)            
                                                                                                                End Sub)))
</div>

The following is rendered but no gantt chart is displayed:
<div class="gantt-wrapper">
    <div data-role="gantt" id="gantt"></div><script>
    jQuery(function(){jQuery("#gantt").kendoGantt({"columns":[{"title":"ID","width":50,"sortable":true,"field":"ID"},{"title":"Project Name","editable":true,"sortable":true,"field":"title"},{"title":"Start Time","format":"{0:MM/dd/yyyy}","width":100,"editable":true,"sortable":true,"field":"start"},{"title":"End Time","format":"{0:MM/dd/yyyy}","width":100,"editable":true,"sortable":true,"field":"end"}],"views":[{"type":"day"},{"selected":true,"type":"week"},{"type":"month"}],"dataSource":{"type":(function(){if(kendo.data.transports['aspnetmvc-ajax']){return 'aspnetmvc-ajax';} else{throw new Error('The kendo.aspnetmvc.min.js script is not included.');}})(),"transport":{"read":{"url":"/Gantt/ReadTasks"},"prefix":""},"schema":{"data":"Data","total":"Total","errors":"Errors","model":{"id":"ID","fields":{"ID":{"type":"number"},"title":{"from":"Title","type":"string"},"start":{"from":"Start","type":"date"},"end":{"from":"End","type":"date"},"parentId":{"from":"ParentID","type":"number"},"orderId":{"from":"OrderID","type":"number"},"percentComplete":{"from":"PercentComplete","type":"number"},"expanded":{"from":"Expanded","type":"boolean"},"summary":{"from":"Summary","type":"boolean"}}}}},"dependencies":{"type":(function(){if(kendo.data.transports['aspnetmvc-ajax']){return 'aspnetmvc-ajax';} else{throw new Error('The kendo.aspnetmvc.min.js script is not included.');}})(),"transport":{"read":{"url":""},"prefix":""},"schema":{"data":"Data","total":"Total","errors":"Errors","model":{"fields":{"DependencyID":{"type":"number"},"PredecessorId":{"type":"number"},"SuccessorId":{"type":"number"},"Type":{"type":"number"}}}}}});});
</script>
</div>
        </div>

The controller datasource service is not being called (no breakpoints are hit).  Any help gratefully received!
Thanks
Richard
Top achievements
Rank 1
 answered on 21 Aug 2014
1 answer
236 views
My scenario is simple.  A user selects a course from the dropdown and uses the fileupload to select 1 or more files.  The user hits submit and the file is saved in a file directory along with file data saved in the database.

My dropdown:

        @Html.LabelFor(m => m.selectedCourseID)
        @Html.DropDownListFor(m => m.selectedCourseID, Model._courses)


If I use just a regular <input id="FilePath" title="upload a image" type="file" name="file" />, everything saves correctly.   But, I'd rather use the Kendo Upload.  If I add this:

     <div class="demo-section">
                    @(Html.Kendo().Upload()
                    .Name("Images")
                    )
                </div>

I get the following runtime error:

The ViewData item that has the key 'selectedCourseID' is of type 'System.Int32' but must be of type 'IEnumerable<SelectListItem>'.



My viewmodel:

        [Display(Name = "Select a course...")]
        public int selectedCourseID { get; set; }


        public IEnumerable<SelectListItem> _courses { get; set; }   



Is this enough information or should I send you information?   Thanks in advance.


Dimiter Madjarov
Telerik team
 answered on 21 Aug 2014
5 answers
228 views
Hello,

I have a treeview where the root nodes are loaded at first and evertime a node is clicked the children nodes are loaded. for each node the Image is also loaded dynamically. For some nodes we Show just one Image and for some nodes we load and Image which has to be overlapped with another Image with relative Position set to bottom right. Can we achieve this ? if i use treeviewmodel imageURL i can only provide one Image. Can i overlap 2 Images and Show them in treeview

Thanks

Anamika
Daniel
Telerik team
 answered on 21 Aug 2014
7 answers
1.4K+ views
I have a grid with incell editing, I need to be able to double-click the line to enter edit mode then have return key press save changes and exit edit mode. I have the edit working by clicking edit then update but return key press automatically cancels the change, I expected that to automatically save. Can anyone help, this seems like a simple request that someone else must have figured out a workaround.
Vladimir Iliev
Telerik team
 answered on 21 Aug 2014
0 answers
90 views
Hi,

I'm looking for an experienced developer able to master the Telerik Scheduler component (MVC). 
 
Please contact me for all the information

Thank you
IndM1
IndM1
Top achievements
Rank 1
 asked on 20 Aug 2014
0 answers
79 views
Hi,

I'm looking for an experienced developer able to master the Telerik Scheduler component (MVC). 
 
Please contact me for all the information

Thank you
IndM1
IndM1
Top achievements
Rank 1
 asked on 20 Aug 2014
1 answer
270 views
Hello,

We are desperately ;) in need of an responsive image editor like the one included with 'Telerik UI for ASP.NET AJAX'. Are there any plans on developing this in the future?

Any alternatives? Creating a winforms project as suggested here is not really an option (http://demos.telerik.com/aspnet-ajax/imageeditor/examples/overview/defaultcs.aspx)

Any suggestions regarding similar products/projects are also welcome of course. (If server-side code is required, preferable ASP.NET MVC Compatible)

Thanks in advance.
Dimo
Telerik team
 answered on 20 Aug 2014
1 answer
118 views
Hi,

I see that Drag and Drop is enabled between Kendo components. Is it possible to drag files and folders from Windows Explorer on to the treeview, and have it register the drop event?

Thanks,
Havard
Alex Gyoshev
Telerik team
 answered on 20 Aug 2014
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
Security
ColorPicker
DateRangePicker
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
DropDownButton
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
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
LLM Kit
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?