Telerik Forums
UI for ASP.NET MVC Forum
1 answer
583 views

Hi,

here i want to display alternate colors with different color for new row inside kendo grid incell edit mode.

Petar
Telerik team
 answered on 09 Sep 2021
1 answer
241 views

Hello 

I used Telerik UI for ASP.NET MVC Grid to perform CRUD operations and manipulate its data in Popup mode. I create a template to customize the Popup window .. Until now every things works fine except the binding in the drop down list .. I followed exactly this demo but unfortunately the drop down list won't to populate. 

Also, When I want to used a foreignkey column in Grid as below, I got "Value can not be null" error :(

columns.ForeignKey(p => p.category_id, ds => ds.Read(r => r.Action("GetCategories", "Home")), "id", "name").Title("Category");

I attached sample project having the issue.

Any Help Please

Eyup
Telerik team
 answered on 09 Sep 2021
0 answers
155 views

I have a stranger issue, The Kendo Grid for ASP.Net MVC work as expect except when I added any event for ant tool in the popup template, The popup window opens in the same page not poping up

Any Idea?

Abdulsalam Elsharif
Top achievements
Rank 2
Iron
Iron
 asked on 08 Sep 2021
0 answers
299 views

Hi,

I have a Kendo Editor control on one of my pages which I've enabled the "paste cleanup" feature on with the flags "all" and "css" but when I copy/paste content with HTML tags and inline CSS styles into it, those tags/styles are not being removed as expected.

This can be seen on the paste cleanup feature demo page - https://demos.telerik.com/kendo-ui/editor/paste-cleanup when pasting in the following HTML snippet

<h1 style="text-align:center;"><strong>The simple way to get a brand new bike, make huge savings and spread the cost</strong></h1>

 

I've tried various combinations of the options available on that page but nothing works so is there a way of achieving the expected result?

 

 

Lee
Top achievements
Rank 1
 asked on 08 Sep 2021
1 answer
277 views

Hello

I used popup window to edit a row in grid, I want to know how can I customize the popup windows (Edit title, Size, Hide some fields, Submit button title ,,, etc)

Anyone can help please? 

Petar
Telerik team
 answered on 03 Sep 2021
1 answer
501 views

I have a columns.Select() in my kendo grid which shows checkboxes to select all the rows if I check the checkbox in the header. I need to override the behavior of this control to select only certain fields based on the values of another column.

Is there any way I can bind this any event and get it to work? I tried using jquery using the class I added, but I was not able to get the event to fire. Please suggest.

@(Html.Kendo().Grid<WMP.Models.Home.WorkFlowApprovalViewModel>()
            .Name("gridApprovals")
            .Columns(columns =>
            {

                    columns.Select().MinResizableWidth(5).HtmlAttributes(new { @class = "cmddestroy" });


                columns.Bound(c => c.PersonId).Filterable(ftb => ftb.Multi(true).Search(true));
                columns.Bound(c => c.UserName).Filterable(ftb => ftb.Multi(true).Search(true));
                columns.Bound(c => c.UserEmail).Filterable(ftb => ftb.Multi(true).Search(true));

}

                                                   
Eyup
Telerik team
 answered on 03 Sep 2021
1 answer
804 views

I have a DropDownList and users are annoyed that whilst the data is loaded it says "No data found." when in fact, the data hasn't been loaded yet - I found this config item:

https://docs.telerik.com/kendo-ui/api/javascript/ui/dropdownlist/configuration/messages.nodata

How do I make one message appear whilst the data source is loading, and another message once the data has loaded (and in fact, there was no data found)

Ivan Danchev
Telerik team
 answered on 02 Sep 2021
0 answers
163 views

Hi team

I have Kendo MVC Grid.I Implemented In cell batch Edit grid with Dropdownlist column.This grid will not have Create,Delete Operation. only Update operation is availble.I need to Defualt my dropdown  to Particular Value if Cell value have 0.Dropdown will have Values as 5 to 10.And i want to Make 5 as Defualt value if Cell value is 0.

Can any one help on this please

sai
Top achievements
Rank 1
 asked on 02 Sep 2021
1 answer
444 views

Hi,

 

We are wondering if it is possible to create a pop up message box using kendo UI for MVC that only shows up in the webpage if any value within a Kendo grid's column exceeds a certain number? Below is the code we have.  col.Bound(c => c.Current).Title("Current") would be the column that contains Double and if any of the values under Current exceeds the number 3, we'd like to have a pop up box in the web. 

Thanks!

    @(Html.Kendo().TabStrip()
    .Name("Tabs")
         .Items(items =>
         {

         items.Add()
         .Text("Table").Selected(true)

                    .Content(@<text>

             <div>

                            @(Html.Kendo().Grid(Model.XXTable).Name("XXTable")
                                .Columns(col =>
                                {
                                    col.Bound(c => c.Name).Title("XXX").Width(200).HeaderHtmlAttributes(new {style = "background:#d50032;font-weight:bold;color:white"});
                                    col.Bound(c => c.Current).Title("Current").Width(100).HeaderHtmlAttributes(new { style = "background:#d50032;font-weight:bold;color:white" });

                                }))
        </div>

         
Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 01 Sep 2021
2 answers
195 views

Hi, we recently upgraded from kendo 2020 to 2021.2.616.

We use System.web.optimization to bundle resources, when building Debug configuration all works fine because bundling is disabled, however when building the Release configuration the bundle is missing some javascripts files, I can't figure out which ones. 

This is the bundle definition:


RegisterScriptBundle(bundles,"~/scripts/libraries",
                        "~/Scripts/jquery-1.12.4.min.js",
                        "~/Scripts/kendo/2021.2.616/kendo.all.min.js",
                        "~/Scripts/kendo/2021.2.616/kendo.aspnetmvc.min.js",
                        "~/Scripts/kendo/2021.2.616/cultures/kendo.culture.en.min.js",
                        "~/Scripts/jquery.unobtrusive-ajax.min.js",
                        "~/Scripts/jquery.knob.min.js",
                        "~/Scripts/kendo.web.ext.js",
                        "~/Scripts/jquery.charcounter.js",
                        "~/Scripts/jquery-ui-1.12.1.min.js");


The javascript error is:


Uncaught TypeError: r.clone is not a function
    at i.r [as bbox] (libraries?v=uEIi5mr2MZbqm5xOzDimRmLOgXThBVTGFDgP5Q4dk2Q1:formatted:19734)
    at i._clippedBBox (libraries?v=uEIi5mr2MZbqm5xOzDimRmLOgXThBVTGFDgP5Q4dk2Q1:formatted:19612)
    at i.clippedBBox (libraries?v=uEIi5mr2MZbqm5xOzDimRmLOgXThBVTGFDgP5Q4dk2Q1:formatted:19587)
    at ns (libraries?v=uEIi5mr2MZbqm5xOzDimRmLOgXThBVTGFDgP5Q4dk2Q1:formatted:16998)
    at i._clippedBBox (libraries?v=uEIi5mr2MZbqm5xOzDimRmLOgXThBVTGFDgP5Q4dk2Q1:formatted:20809)
    at i.clippedBBox (libraries?v=uEIi5mr2MZbqm5xOzDimRmLOgXThBVTGFDgP5Q4dk2Q1:formatted:19587)
    at u._initGroups (libraries?v=uEIi5mr2MZbqm5xOzDimRmLOgXThBVTGFDgP5Q4dk2Q1:formatted:20941)
    at u.reflow (libraries?v=uEIi5mr2MZbqm5xOzDimRmLOgXThBVTGFDgP5Q4dk2Q1:formatted:20895)
    at init.reflow (libraries?v=uEIi5mr2MZbqm5xOzDimRmLOgXThBVTGFDgP5Q4dk2Q1:formatted:154923)
    at init.reflow (libraries?v=uEIi5mr2MZbqm5xOzDimRmLOgXThBVTGFDgP5Q4dk2Q1:formatted:141656)

prettyfied related code: 

 looks like related to SVG, but how to know which files to include?
Misho
Telerik team
 answered on 01 Sep 2021
Narrow your results
Selected tags
Tags
Grid
General Discussions
Scheduler
DropDownList
Chart
Editor
TreeView
DatePicker
Upload
ComboBox
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
MultiColumnComboBox
Dialog
DropDownTree
Checkbox
Slider
Switch
Notification
ListView (Mobile)
Pager
Accessibility
ColorPicker
DateRangePicker
Wizard
Security
Styling
Chat
MediaPlayer
TileLayout
DateInput
Drawer
SplitView
Barcode
ButtonGroup (Mobile)
Drawer (Mobile)
ImageEditor
RadioGroup
Sparkline
Stepper
TabStrip (Mobile)
GridLayout
Template
Badge
LinearGauge
ModalView
ResponsivePanel
TextArea
Breadcrumb
ExpansionPanel
Rating
ScrollView
ButtonGroup
CheckBoxGroup
NavBar
ProgressBar
QRCode
RadioButton
Scroller
Timeline
TreeMap
TaskBoard
OrgChart
Captcha
ActionSheet
Signature
DateTimePicker
AppBar
BottomNavigation
Card
FloatingActionButton
Licensing
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?