Telerik Forums
UI for ASP.NET MVC Forum
3 answers
289 views
Does the capability exist to only have a hierarchy grid available for specific records.  Basically is there a way to dynamically set the .ClientDetailTemplateId?
Eduardo Serra
Telerik team
 answered on 16 Feb 2018
1 answer
125 views

I have a 10 column grid with a hierarchy grid consisting of only 2 columns. By default it seems the hierarchy grids fills the space of the parent grid and thus the 2 columns are stretched across the entire width.

I have tried explicitly setting a width for each column of the hierarchy grid but they do not seem to have any effect whatsoever. 

Is there a way to set hierarchy grid total width or be able to set column widths of the hierarchy grid?

Viktor Tachev
Telerik team
 answered on 16 Feb 2018
2 answers
127 views
How can I set aggregates values in header mvc grid for every column like on a the picture? Thanks
Olexandr
Top achievements
Rank 1
 answered on 16 Feb 2018
7 answers
169 views

Dear Telerik team.

Would it be possible for you to localize the five messages of the color picker widget?

It is pretty annoying to handle several languages by setting the color picker message option on every usage.

Or tell us what changes in the messages file are needed to have only one place to modify.

Kind regards

Bernd

Bernd
Top achievements
Rank 2
 answered on 16 Feb 2018
4 answers
913 views

I understand the Databound event for the MVC grid is supposed to fire after the grid is fully rendered. But I'm seeing the databound event fires, then my read action fires, after which the databound event doesn't fire again. Below is my code for the grid. Anyone have an idea of what I'm doing wrong? Thanks in advance.

 

@(Html.Kendo().Grid<dynamic>()
            .Name("StandardTable_" + Model.InstanceKey)
            .Resizable(resize => resize.Columns(true))
            .Pageable(pageable => pageable
                .Input(true)
                .Refresh(true)
                .PageSizes(true)
                .ButtonCount(5)
                .Enabled(true)
                .Numeric(false)
            ).ColumnMenu()
            .Sortable(s => s.SortMode(GridSortMode.MultipleColumn).AllowUnsort(true))
            .Filterable()
            .Groupable()
            .Reorderable(reorder => reorder.Columns(true))
            .Scrollable(e => e.Enabled(true).Virtual(true).Height("auto"))
            .EnableCustomBinding(true)
        .Events(e => e
            .DataBound("pan.dashboardsetup.gridDatabound(" + Model.dashFeed?.FeedKey + "," + Model.InstanceKey + ")")
            .ColumnMenuInit("pan.dashDatapart.menuInit")
            )
        .DataSource(d => d
            .Ajax()
            .PageSize(pageSize)
            .Read(read => read
                .Action("StandardTableRead", "Feeds").Data("pan.dashDatapart.StandardGridRead(" + Model.dashFeed?.FeedKey + "," + Model.InstanceKey + ")")
            )
        )
)
Chris
Top achievements
Rank 1
 answered on 15 Feb 2018
2 answers
405 views

I want to perform automatic grouping at run-time under certain conditions.  I am currently handling it by attaching to .DataBound event and if a js flag variable is set then I call:

var grid = $("#myGrid").data("kendoGrid");
grid.dataSource.group({ field: "FieldToBeGrouped" });

 

Is there a more recommended way?

 

 

Reason I am asking is I am noticing some oddities when it executes the grouping where it takes longer than expected and results in browser error Uncaught RangeError: Maximum call stack size exceeded.  The end result does have the grid grouped as I would expect but the error and execution time is worrisome.

Note the field that is being grouped is listed as Hidden.  Also I do not want to give the ability for the user to group other columns (or think that they can) so I have not included .Groupable() in order to not show the grouping toolbar.  I did try including .Groupable() and still noticed same issues.

Erik
Top achievements
Rank 1
 answered on 15 Feb 2018
2 answers
364 views

We have a dialog where a user needs to select an item from a drop down list.  The dialog has an OK and Cancel button.  We want to validate the selection when the user clicks OK but not when they click cancel.  Is there a way I can do this with actions or is the only alternative to add buttons as content and handle the close on our own?

 

Thanks,

~Justin

Justin
Top achievements
Rank 1
 answered on 15 Feb 2018
1 answer
1.0K+ views

Hi,

I use Kendo Editor ASP.NET MVC .

I paste some pictures and I save the content of the editor in my database.

The size of the content is ~20Mo.

Later, when I want to resume the content to modify it, I have the error :

Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.

In my web.config file I added a maxJsonLength, but that doesn't change anything

What solution(s) do I have?

 

Thanks,

Regards

Ivan Danchev
Telerik team
 answered on 15 Feb 2018
1 answer
136 views
I am having an issue with Kendo Scheduler where the events are not lining up with their respective days. I am loading events from a SQL Server database. The start date for the first event is coming back as 2/12/2018 12:00:00 AM. I can't find a reason for the offset. See attached image.  
Nencho
Telerik team
 answered on 14 Feb 2018
5 answers
523 views

Hello,

 I have Many-To-Many Relationship problem in my Grid.Searched the examples but could not find a way to do the column binding (unless using separate ViewModel). What I tried to do is:

columns.Bound(o => o.PERSON.EDUCATIONs.Select(m => m.E_DEGREE)).Title("Degree").Width("12.5%");

 That, of course, gives the following error:

Bound columns require a field or property access expression.

 

Is it possible to achieve the above?

 

Thanks

Konstantin Dikov
Telerik team
 answered on 14 Feb 2018
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?