Telerik Forums
Kendo UI for jQuery Forum
1 answer
665 views
Hi, I'm trying to create my own task model for the mvc kendo scheduler , I've already implemented the ISchedulerEvent on my model to make the scheduler work but i don't want their properties (end,start,title.description,timezone, etc...), I only want the properties I've created, also I've already created my custom task creation popup with my own properties but when I click the save button i canĀ“t advance to the controller method because the ISchedulerEvent properties are required, here is my sheduler code and my model.

Index

@(Html.Kendo().Scheduler<NUGUlib.Models.task>()
        .Name("scheduler")
        .Date(new DateTime(2013, 6, 13))
        .StartTime(new DateTime(2013, 6, 13, 10, 00, 00))
        .EndTime(new DateTime(2013, 6, 13, 23, 00, 00))
        .Editable(true)
        .Height(600)
        .Editable(e => e.TemplateName("PopUp"))
        .Views(views =>
        {
            views.DayView();
            views.WeekView(semana => semana.Selected(true));
            views.MonthView();
            views.WorkWeekView(view => view.WorkDayCommand(false));
            views.AgendaView();
        })
        .DataSource(d => d.Model(m =>
            {
                m.Id(f => f.id);
            })
               .Read(r => r.Action("Scheduler_Read", "Scheduler"))
               .Create(c => c.Action("Scheduler_Create", "Scheduler"))
               .Destroy("Scheduler_Destroy", "Scheduler")
               .Update("Scheduler_Update", "Scheduler")
        )
        .ShowWorkHours(false)
        .BindTo(Model)
)

Model

 public partial class cita : ISchedulerEvent
    {
        public int id { get; set; }
        public int UserID { get; set; }
        public System.DateTime firstDate { get; set; }
        public System.DateTime secondDate { get; set; }
        public string description { get; set; }
        public int times { get; set; }

        public string Description
        {
            get;
            set;
        }

        public DateTime End
        {
            get;
            set;
        }

        public string EndTimezone
        {
            get;
            set;
        }

        public bool IsAllDay
        {
            get; 
            set;
                

        }

        public string RecurrenceException
        {
            get;
            set;

        }

        public string RecurrenceRule
        {
            get;

            set;

        }

        public DateTime Start
        {
            get;
            set;

        }

        public string StartTimezone
        {
            get;
            set;
        }

        public string Title
        {
            get;
                

            set;

        }
    }
}




Vladimir Iliev
Telerik team
 answered on 09 Jul 2014
1 answer
767 views
I would like to change border colors (and more generally border border style) and I don't find css atribute or theme builder property for performing that.

Could you help me please?
Dimo
Telerik team
 answered on 09 Jul 2014
1 answer
92 views
How do you handle bugs reported against a particular version of Kendo UI?

Are they fixed in that version and re-released... or are issues fixed in a current release with the expectation that customer upgrade to get the fix?
Sebastian
Telerik team
 answered on 09 Jul 2014
5 answers
922 views
Can I achieve the functionality as shown in the attached file using Kendo Grid/ListView?

It should support the following functionality

1. Edit the Group Name (inline)
2. Edit the Item Name (inline)
3. Items rows should be split in two columns under the Group
4. Rearrange the Group using drag and drop

Can this be done using declarative markup?

A small example would really help. Thanks
Nikolay Rusev
Telerik team
 answered on 09 Jul 2014
1 answer
102 views
I am using Webmatrix 3 and have downloaded both the KENDO UI Professional Trial Version and the KENDO UI Core.  I am using VB in Webmatrix
I am trying to find an example in Webmatrix VB of using MS SQL (CE or otherwise) as the data source with the Grid.  Is this possible?   All examples I have found so far use only local data and in C#    
Atanas Korchev
Telerik team
 answered on 09 Jul 2014
17 answers
512 views
I recently started using bower (http://bower.io/) to manage my external packages (github) it makes update very easy. (leaflet, pouchdb, etc.) I see there is a bower package for the kendo core, but I am a longtime (since your first version) subscriber and I tend to use kendo.all.min.js.

Our projects are for offline use, so we cannot use internet urls for download of javascript.

Any chance of getting a bower package for Kendo Web? Mobile?


Dr.YSG
Top achievements
Rank 2
 answered on 08 Jul 2014
5 answers
203 views
Your public-facing documentation keeps pace with your releases... which is great - but what about documentation for previous releases? Do you have any kind of 'snapshot' of your documentation per-release?

The concern, is that customers who cannot update their projects in-step with your releases will quickly get out of sync with implementation details.
Petyo
Telerik team
 answered on 08 Jul 2014
11 answers
444 views
HI, 

We are trying to display a dashboard with few stacked bar charts for well monitoring in "Gas and petrol insustries".
As part for this we are trying to show few more information in the form of images.

Mostly these images will be up/down arrows on top of the bar, a small rectlange inside the bar etc. 

What we would like to know is, is there a facilty in chart itself to achieve this are should we manually add div elements to 
chart area as shown here:http://jsbin.com/azeRAY/2/edit.
I have attached a image to show what we want to achieve

Right now we are the evaluation phase of Kendo UI for our applications and any help would be appreciated.

Regards
Sripriya
Senior engineer, Honeywell Technologies.
Iliana Dyankova
Telerik team
 answered on 08 Jul 2014
1 answer
111 views
Sorry If this is not a good question but I am new to Kendo UI and didn't find any answer on the web.
1) I am trying to develop an e-commerce mobile app in which i have to display products on a page (say two products per row) I have achieved this using UI-Grid-a in JQmobile but didn't find anything as such in Kendo UI . I implemented it using tables in KedoUI but I think it is not appropriate . Is there an Kendo UI equivalent of UI-Grids in JQMobile.
2)I also couldn't find any panel(Pops up from the left/right  Top corner of screen when user touches the panel button) UI  in Kendo .May I know how it is enabled in Kendo.
Thanks in adavnce
Kiril Nikolov
Telerik team
 answered on 08 Jul 2014
1 answer
918 views

Hey everyone,

I have a Kendo grid that has two columns on it. Column A dictates what happens in column B. Column B uses an EditorTemplateName file that contains a Kendo drop down list. When certain values are selected in column A, I need to disable editing in the drop down list in column B.

Right now I am just trying to focus on getting the DropDown or column to disable (Ignoring the condition). I have tried doing this in the Edit event of the grid, however nothing will disable the column or the dropdown. The user is always able to click the cell and expand the dropdown despite setting things like "enabled = false;" How do I stop this?

main.cshtml:

@(Html.Kendo().Grid<My.Namespace.ViewModel>()
.Name("grid")
.Columns(column =>
{
column.ForeignKey(p => p.A_ID, (System.Collections.IEnumerable)ViewData["A"], "A_ID", "A_Name").Title("A").Width(150);
column.ForeignKey(p => p.B_ID, (System.Collections.IEnumerable)ViewData["B"], "B_ID", "B_Name").EditorTemplateName("Template").EditorViewData((System.Collections.IEnumerable)ViewData["B"]).Title("B");
 })
.ToolBar(toolbar =>
{
toolbar.Create().Text("Add New");
toolbar.Save().Text("Save"); //Needed for saving the grid. Hidden by CSS.
})
.Selectable()
.Editable(editable => editable.Mode(GridEditMode.InCell))
.Navigatable(n => n.Enabled(true))
.Pageable()
.Sortable()
.Scrollable()
.Events(e => e.Edit("onEdit"))
.AutoBind(false)
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(20)
.Events(events => events.Error("error_handler"))
.ServerOperation(true)

.Model(model =>
{
model.Id(p => p.ID);
model.Field(p => p.ID).Editable(false);
model.Field(p => p.A_ID).DefaultValue(1);

})
.Create(update => update.Action("C_Create", "Controller"))
.Read(read => read.Action("C_Read", "Controller"))
.Update(update => update.Action(C"_Update", "Controller"))
.Destroy(update => update.Action("C_Destroy", "Controller"))

)
.ToClientTemplate()

Template.cshtml

@(
Html.Kendo().DropDownListFor(m => m)
.BindTo((System.Collections.IEnumerable)ViewData["B"])
.DataTextField("B_Name")
.DataValueField("B_ID")
)


function OnEdit(e)

var B_DropDown = e.container.find("#B_ID").data("kendoDropDownList");

if (B_DropDown) {
//Some custom filtering based on the value in Column A
 B_DropDown.dataSource.filter({ field: "A_ID", operator: "eq", value: e.model.A_ID });
 B_DropDown.enable = false; //Doesn't work.
 }

var dropdown = e.container.find("B_ID");

dropdown.hidden = true; // Doesn't work 
dropdown.disabled = true; //Doesn't work.
dropdown.enable = false; //Doesn't work.
dropdown.enabled = false; //Doesn't work.

var grid = $("#grid").data("kendoGrid");
var row = grid.select();
var uid = row.data("uid");
$('[data-uid="' + uid + '"] td:nth-child(2)').text("");
$('[data-uid="' + uid + '"] td:nth-child(2)').enabled = false; //Doesn't work.  






Atanas Korchev
Telerik team
 answered on 07 Jul 2014
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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?