Telerik Forums
UI for ASP.NET MVC Forum
5 answers
2.0K+ views
Hi,

I wondering if it's possible to put a horizontal scroll bar because when I retrieve the information, columns has an overflow of the screen
I attach an image that shows the problem
Dimo
Telerik team
 answered on 03 Apr 2017
2 answers
180 views

Hi community,

I encountered the issue shown in the screenshot while loading data from the database. The loading image indicator is shown, but it isn't fitting correctly.
The them used is Fiori and my kendo version is 2017.1.118

Any advice how to fix this issue?

Many thanks and kind regards,
Thomas

Thomas
Top achievements
Rank 2
 answered on 03 Apr 2017
14 answers
527 views

Hi,

I updated my project to use the latest Telerik MVC release 2016.3.1028, but after this update the grids that i had DisplayDeleteConfirmation(false) does not work anymore and when i click on cancel it displays the message box with "are you sure". When i downgraded to a old version it worked fine.

Now since i have installed the current version the previous version 2016.3.914 that i was using is no more displayed in the update tool in Visual Studio for me to downgrade, please let me know how can i downgrade to this specific version.

Thanks in advance

Arvind

Michael
Top achievements
Rank 1
 answered on 01 Apr 2017
2 answers
236 views
I have an MVC KendoGrid with a custom popup editor that contains 3 select lists using razor DropDownListFor html helpers.  I am using the optionLabel parameter on the helper to show "-- Select One --" empty option when creating a new record, but it is not being selected for 2 selects that have integer values. The other select that has a string type for value in the model is showing the "-- Select One --" corrrectly.  Is there something I can do to have it selected in all 3 dropdown lists for new records?
Pavlina
Telerik team
 answered on 31 Mar 2017
2 answers
2.2K+ views
Is there any way to have a loading indicator on the MVC Chart?  I've seen plenty of examples on how to do that in the JS Chart but none on the MVC Chart.  I have some charts with a lot of data that are taking 15-20 seconds to display so the user is sitting there wondering if the chart is even working.
John
Top achievements
Rank 1
 answered on 31 Mar 2017
1 answer
149 views
is there a way to have different colors for DataPoints on the line series yet?
my need is when value < 3 = green; value >3 and < 6  = yellow; value > 6 = red on a line series
Marin Bratanov
Telerik team
 answered on 31 Mar 2017
2 answers
146 views

Hi; 

It's possible to set a Shared DataSource lto a Fluent API Scheduler, like to a Grid, via DataSource Name?

Example:

DataSource:

@(Html.Kendo().DataSource<Models.Event>()
        .Name("SharedEvents")
         
        .SignalR(sr => sr
         
        .Transport(tr => tr
            .Promise("hubStart")
            .Hub("OpsToolHub")
            .Client(c => c
                .Read("read")
                .Create("create")
                .Update("update")
                .Destroy("destroy"))
            .Server(s => s
                .Read("read")
                .Create("create")
                .Update("update")
                .Destroy("destroy")))
        .Schema(schema => schema
 
            .Model(model => {
                model.Id(m => m.id);
                model.Field(m => m.fID).Editable(false);
                model.Field("start", typeof (DateTime)).From("Start");
                model.Field("end", typeof (DateTime)).From("End");
                model.Field("title", typeof (string)).From("Title");
                model.Field("description", typeof (string)).From("Description").Editable(true);
                model.Field("recurrenceRule", typeof (string)).From("RecurrenceRule");
                model.Field("recurrenceException", typeof (string)).From("RecurrenceException");
                model.Field("isAllDay", typeof (bool)).From("IsAllDay").Editable(true);
                model.Field("startTimezone", typeof (string)).From("StartTimezone").Editable(true);
                model.Field("endTimezone", typeof (string)).From("EndTimezone").Editable(true);
            })
        )
    )
)

 

Scheduler:

01.@(Html.Kendo().Scheduler<Models.Event>()
02.    .Name("schedulerWeek")
03.    .Date(DateTime.Now)
04.    .StartTime(new DateTime(2017, 1, 1, 1, 00, 00))
05.    .Height(1000)
06.    .AllDaySlot(false)
07.    .Timezone("Etc/UTC")
08.    .MajorTick(1440)     
09.    .MinorTickCount(1)   
10.    .CurrentTimeMarker(marker =>
11.    {
12.        marker.UpdateInterval(600000); //updates each 10min.
13.        marker.UseLocalTimezone(false);
14.    })
15.    .Views(views =>
16.    {  
17.        views.CustomView("kendo.ui.SchedulerTimelineWeekView", t =>
18.        {   t.Title("schedulerWeek");           
19.        });       
20.    })
21.    .Resources(resource =>
22.    {
23.        resource.Add(m => m.type)
24.       (...) //shorttened
25.    .Group(group => group.Resources("RegisterName", "type").Orientation(SchedulerGroupOrientation.Vertical))
26.    .EventTemplateId("event-template")
27.    .DataSource(????)  '???? how to set the shared datasource, imposible via name as far as we try!!!

 

Waiting for response;

Best Regards;

Plamen
Telerik team
 answered on 31 Mar 2017
2 answers
158 views

@(Html.Kendo().Grid<intranet.mvc5b.Models.Arrangement.Lokaler>()
            .Name("gridLokaler")
            .Columns(col =>
            {
                col.Bound(p => p.ID).Hidden(true);
                col.Bound(p => p.Lokale);
                col.Bound(p => p.Aktiv).Width(60).ClientTemplate("#=Aktiv? 'Ja' : 'Nej' #");
                col.Command(command => { command.Edit()
                    .Text("Ret")
                    .UpdateText("Gem")
                    .CancelText("Afbryd");
                }).Width(90);
            })
            .ToolBar(toolbar => toolbar.Create().Text("Opret lokale"))
            .Editable(editable => editable.Mode(GridEditMode.PopUp).TemplateName("arrLokaleEdit"))
            .Pageable()
            .DataSource(dataSource => dataSource
                .Ajax()
                .ServerOperation(false)
                .PageSize(15)
                .Events(events => events.Error("error_handler"))
                .Model(model => model.Id(p => p.ID))
                .Update("Lokaler_Update", "Arrangement")
                .Create("Lokale_Opret", "Arrangement")
                .Read("Lokale_Read", "Arrangement")
            )
            .Deferred()
        )

This grid shows ok, but when I edit a row and save without making any changes

it calls the create action insted of update

Im using 2017.1.223.545

Christian Sandöy
Top achievements
Rank 2
 answered on 30 Mar 2017
3 answers
666 views

Hi,

Is it possible to have custom command button in TreeList?

I have tried to configure custom command button in Html.Kendo().TreeList as following:

                        @(Html.Kendo().TreeList<ABM.Models.AzureTreeViewData>()
                                .Name("ddlSubs")
                                .Columns(columns =>
                                {
                                    columns.Add().Field(e => e.Name).Width(480).TemplateId("node-template");
                                    columns.Add().Field(e => e.Type).Hidden(true);
                                    columns.Add().Field(e => e.SubID).Hidden(true);
                                    columns.Add().Command(command =>
                                    {
                                        command.Custom().Text(" ").Name("buttonCustom").Click("showDetails").ImageClass("fa fa-eye fa-lg");
                                    });
                                })
                                .Filterable()
                                .Sortable()
                                .Selectable(true)
                                .DataSource(dataSource => dataSource
                                    .Read(read => read.Action("TreeData", "Main").Data("subsdata"))
                                    .ServerOperation(true)
                                    .Model(m =>
                                    {
                                        m.Id(f => f.Id);
                                        m.ParentId(f => f.ParentId);
                                        m.Expanded(true);
                                        m.Field(f => f.Name);
                                        m.Field(f => f.Icon);
                                        m.Field(f => f.Type);
                                        m.Field(f => f.SubID);
                                    })
                                )
                        .Height(540)
                        )
<script>
    function showDetails(e) {
        e.preventDefault();

        var dataItem = $("#ddlSubs").dataItem($(e.currentTarget).closest("tr"));
 
        var wnd = $("#Details").data("kendoWindow");

        wnd.content(detailsTemplate(dataItem));
        wnd.center().open();
    }
</script>

Unfortunately Click event never hit in my code.

Could you please help me.

Thank you.

 

 

 

Tsvetina
Telerik team
 answered on 30 Mar 2017
1 answer
166 views
I have created a dojo http://dojo.telerik.com/IkaQa with an example spreadsheet that is full size (no scrollbars) that is larger than the screen. If you scroll down to the bottom of the spreadsheet using the window (document) scroll and then select a cell (row 200) it will jump to the top of the window. This only happens in Firefox, IE and Edge, works correctly in chrome. I am currently using a spreadsheet in this fashion in a product. I have been able to add event listeners and override this issue in IE and Edge but for some reason the click event in firefox registers as a double click only. This is a big issue for me and I will open a ticket if need be, any help would be appreciated.
Veselin Tsvetanov
Telerik team
 answered on 30 Mar 2017
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
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
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?