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

I am following the example form here:

 

https://demos.telerik.com/aspnet-mvc/grid/editing-popup

 

 

which the "Product Name" field is required, however there is nothing in the code the signals that

 

any directions are appreciated 

 

tks

Misho
Telerik team
 answered on 23 Oct 2020
1 answer
568 views

I have a kendo grid with a lot of columns and want to resize the grid width to it's container (a bootstrap column). By default, the grid tries to fit into the container

but with too many columns, it exceeds the container's width.

I tried to use .Scrollable() and now the grid fits to the container width. The unwanted side effect is that I get a vertical scrollbar. Can I achieve the goal without

.Scrollable()?

Georgi
Telerik team
 answered on 23 Oct 2020
28 answers
467 views

Hello,

I'm trying to implement a grid with row virtualization and groups, based on this example : https://demos.telerik.com/aspnet-mvc/grid/server-grouppaging-virtualization . But I see an odd behavior. When I group rows on two columns, then expand the first level group, in my case, there is no filter sent to the server, only group.

Here is the request sent by the grid in my case : 

sort:
page: 1
pageSize: 50
group: RAISONSOCIALE-asc~LIBELLERIB-asc
filter:
take: 50
skip: 0
groupPaging: true

 

And here is the one in the example I use :

sort:
page: 1
pageSize: 50
group: CompanyName-asc
filter: City~eq~'Shady Point'
skip: 0
take: 50
groupPaging: true

 

Here is the grid : 

Html.Kendo().Grid<SomeObject>()
    .Name("ForecastListGrid")
    .Groupable()
    .Columns(columns =>
    {
        columns.Select().Width(50).HtmlAttributes(new { @class = "checkbox-align" }).HeaderHtmlAttributes(new { @class = "checkbox-align" });
        columns.Bound(p => p.RAISONSOCIALE);
        columns.Bound(p => p.CODE_FLUX);
        columns.Bound(p => p.DATE_O).Width(100).Encoded(false).ClientTemplate("#=kendo.toString(kendo.parseDate(DATE_O,'dd/MM/yyyy'), '" + "dd/MM/yyyy" + "')#");
        columns.Bound(p => p.DATE_V).Width(100).Encoded(false).ClientTemplate("#=kendo.toString(kendo.parseDate(DATE_V,'dd/MM/yyyy'), '" + "dd/MM/yyyy" + "')#"); ;
        columns.Bound(p => p.NOMBRE);
        columns.Bound(p => p.LIBELLE);
        columns.Bound(p => p.REFERENCE);
    })
    .Scrollable(scrollable => scrollable.Virtual(true))
    .Height(500)
    .DataSource(dataSource => dataSource
        .Ajax()
        .Events(events =>
            events.Error("error_handler")
        )
        .Model(model =>
        {
            model.Id(p => p.ID);
        })
        .GroupPaging(true)
        .PageSize(50)
        .Read("LoadGrid", "Test")
    )

 

Is there something I'm missing ?

Thanks !

Geetha
Top achievements
Rank 1
Veteran
 answered on 22 Oct 2020
1 answer
231 views
I just upgraded to Telerik UI for ASP.Net Mvc5 v2020.3.915 and all my MaskedTextBoxes are no longer showing borders.  How do I get them back?
Nikolay
Telerik team
 answered on 22 Oct 2020
1 answer
544 views

I have a simple page with an editor, I have the "createTable" tool added but not the "tableWizard" even so the Table Wizard button still shows up.

Is there a way besides css to remove/hide this button.

 

$("#editor").kendoEditor({
            tools: [
                {
                   name: "fontSize",
                   items: [
                       { text: "1 (8pt)", value: "8pt", },
                       { text: "2 (10pt)", value: "10pt", },
                       { text: "3 (12pt)", value: "12pt", }
                   ]
               },
               "bold",
               "italic",
               "underline",
               "strikethrough",
               "superscript",
               "justifyLeft",
               "justifyCenter",
               "justifyRight",
               "justifyFull",
               "insertUnorderedList",
               "insertOrderedList",
               "indent",
               "outdent",
               "createLink",
               "unlink",
               "insertImage",
               "createTable",
               "addRowAbove",
               "addRowBelow",
               "addColumnLeft",
               "addColumnRight",
               "deleteRow",
               "deleteColumn",
               "viewHtml"
               ]
       });

 

Ivan Danchev
Telerik team
 answered on 20 Oct 2020
3 answers
340 views
Here is the post data:
sort=&page=1&pageSize=30&group=&filter=Fields%5B3%5D.Value~contains~'hello'~or~Fields%5B3%5D.Value~contains~'statement'&Query=test
The columns are dynamic so removing the iterator on the Fields collection is not an option

Please provide support for iterable column filters
Tsvetomir
Telerik team
 answered on 20 Oct 2020
5 answers
154 views

I have problem when using version 2020.1.114.

When I build the project locally, everything is still running normally, but when deployed to the IIS server and try to access the admin account, the error:

"f is not a constructor"

On local version of .NET Framework: 4.7.2, and on Server: 4.8

How do I handle this error?

 
Dimitar
Telerik team
 answered on 20 Oct 2020
6 answers
2.4K+ views

Hi,

Please can anyone show me how I can set the value of a Select() column in the MVC grid?

I have a class which contains a boolean field that I would like to use to tick / untick the checkbox that the Select() column renders, but I can find no information on how to do it!

 

Any help greatly appreciated - please let me know if you require more info.

Thanks..Ed

 

Victor
Top achievements
Rank 1
 answered on 18 Oct 2020
4 answers
364 views

I've recently started using ToDataSourceResultAsync extension methods, but noticed it is not allowed to pass cancellation token.

Cancellation token is widely supported in entity framework. And it has big benefits for long running queries to allow cancel them.

ToDataSourceResultAsync methods should support passing cancellation token as a parameter.

 

Marcin
Top achievements
Rank 1
Veteran
 answered on 16 Oct 2020
3 answers
333 views

Hi Team,

i am using kendo treeview for one of my requirement. It was working fine with kendo.mvc dll version 2015, but when we upgraded kendo.mvc version to 2018.3.911.545 ,it is not working properly and items inside tree view getting disabled.

Please let me know how to resolve this issue. Thanks

 

@helper RenderGroupTreeView()
{
    @(Html.Kendo().Window().Name("windowGroupTree").Title("Sector").Draggable().
                                        Actions(actions => actions
                                            .Minimize()
                                            .Maximize()
                                            .Close()
                                            ).Visible(false)
                                            .Resizable()
                                            .Scrollable(true)
                                            .Height(300)
                                            .Content(@<text>
                                                @(Html.Kendo().TreeView()
                                                                .Name("GroupTree")
                                                                .BindToTaxonomyData("Group")
                                                                .Events(events => events.Select("onGroupSelection").DataBound("onGroupSelection"))
                                                )
                                                <br />
                                                <span id="SGlabel" style="font-style:italic;" class="k-label-bottom">Selected: </span>
                                                <span id="SelectedGroup" style="font-weight:bold;font-style:italic;" class="k-label-bottom">@Html.DisplayFor(x => x.Group.Description)</span><br /><br />
                                                <span id="btnGroup" style="align-items:center" class="k-button">OK</span>
                                            </text>)
    )

 

 

Petar
Telerik team
 answered on 16 Oct 2020
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?