Telerik Forums
UI for ASP.NET MVC Forum
1 answer
215 views
I want to make the rich text editor control shorter. I've tried applying a "height" style to the css as well as directly to the control but cannot get it shorter than 175px. Is it possible to shorten it?
Rumen
Telerik team
 answered on 31 Oct 2016
3 answers
117 views

Hello,

I am trying to use the AutoComplete editor with MVC6.  Kendo Version 2016.3.914

I keep getting, Uncaught TypeError: jQuery(...).kendoAutoComplete is not a function when I run the page.

I found this post from last year:  http://www.telerik.com/forums/missing-textboxfor-and-autocomplete#a-GwYBg2-ECJCMqxHipYVQ

Has support for AutoComplete been added yet?

 

Thank you!

 

Rumen
Telerik team
 answered on 31 Oct 2016
3 answers
1.0K+ views

I'm wondering if anyone has tried and would like to share how to dynamically store the telerik html code in a database and render it onto a MVC view dynamically. I have a project I'm currently working on and have been unsuccessful so far.

 

Thanks,

Neil

Vessy
Telerik team
 answered on 31 Oct 2016
1 answer
1.1K+ views

Is there any way to declare the value of a checkbox? Currently the value is always 'true'.

<input name="AppleYN" class="k-checkbox form-control" id="AppleYN" type="checkbox" value="true">

I would like to specify the values for check box lists:

<input name="AppleYN" class="k-checkbox form-control" id="AppleYN" type="checkbox" value="21">

<input name="BananaYN" class="k-checkbox form-control" id="BananaYN" type="checkbox" value="22">

<input name="OrangeYN" class="k-checkbox form-control" id="OrangleYN" type="checkbox" value="23">

Danail Vasilev
Telerik team
 answered on 31 Oct 2016
1 answer
279 views
We are usingc trial version of Telerik UI for ASP.NET MVC R3 2016 With MVC 4

PROJECT DESCRIPTION 
We are using System.Web.Mvc version as 5.2.2.0.And Kendo.MVC.dll of version 2012.3.1114.340.
We are using kendo datepicker but on edge the saved date value is not displaying.If we put type="text" it removes the validations from that field like required filed etc. And also tried to replaced Kendo.MVC.dll of new trial version i.e. 2016.3.914.440 but still it's not working, Do we need to replace an css or js files also,If yes please let me know which are those.
We need to have common fix because we need to do this change at one common place as at many places we are using that.
Please give us the solution.

Thanks,
Ashvini

Viktor Tachev
Telerik team
 answered on 28 Oct 2016
3 answers
313 views

 

We are currently working with the Upload control in what would seem to be a very simple setup.

@(Html.Kendo().Upload()
                            .Name("files")
                            .ShowFileList(false)
                            .Multiple(false)
                            .Async(a => a
                                 .Save("Save", "Patient")
                                 .AutoUpload(true)
                                 .SaveField("files")
                              )
                            .Validation(validation => validation.AllowedExtensions(new string[] { ".gif", ".jpg", ".png" }))
                              )

 

 

and our controller is defined as such

[HttpPost]
public async Task<IActionResult> Save(IEnumberable<HttpPostedFileBase> files)

 

What is happening is that the files parameter is not null but has a count of 0. This is in an ASP.NET core MVC app.

What could the issue be? Is there something simple we are missing here?

Thanks
AJ

 

 

 

 

Veselin Tsvetanov
Telerik team
 answered on 28 Oct 2016
6 answers
769 views
I have an operation in the MVC controller that might run a few seconds before completing for Create and Update actions in the grid.  How do I get a spinning wait cursor to display during this operation and prevent the user from clicking on anything else?
Pavlina
Telerik team
 answered on 28 Oct 2016
7 answers
216 views

I'm trying to work the new preview version for .net core 1.0.  However, the issue I'm having is that the grids will not display any data when using the MVC version.  If I create the grid using the javascript version, it works.

Both grids call the same function and both return data.  However, only Grid2 displays any data. 

Using the KendoUI Chrome plugin, the Kendo Linter gives me two errors on Grid1.

http://localhost:20504/:92,944 Unknown option: prefix
http://localhost:20504/:92,1146 Unknown option: fields

Also, inspecting the grid, the _data for Grid1 shows Array[0], while the _data for Grid2 shows Array[1].

<h1>Grid 1</h1>
@(Html.Kendo().Grid<TelerikCoreTest1.Model.GridModel>()
    .Name("Grid1")
    .Columns(col =>
    {
        col.Bound(x => x.Id);
        col.Bound(x => x.Text);
 
    })
    .DataSource(ds => ds
        .Ajax()
        .Read(rd => rd.Action("Grid_Read", "Home"))
    )
    .Deferred()
)
 
<br />
 
<h1>Grid 2</h1>
 
<div id="Grid2"></div>
 
@section scripts {
 
    <script>
        var readUrl = '@Url.Action("Grid_Read", "Home")'
 
        $("#Grid2").kendoGrid({
            height: 400,
            columns: [{ title: "Id", field: "id" },
                {title: "Text", field: "text"}
            ],
            dataSource: {
                transport: {
                    read: readUrl
                },
                schema: {
                    data: "data"
                }
            }
        });
    </script>
 
    @Html.Kendo().DeferredScripts()
}

public IActionResult Grid_Read([DataSourceRequest]DataSourceRequest request)
{
    List<GridModel> data = new List<Model.GridModel>();
 
    GridModel gm = new GridModel()
    {
        Id = 1,
        Text = "Testing"
    };
 
    data.Add(gm);
 
    return Json(data.ToDataSourceResult(request));
}

Michel
Top achievements
Rank 1
 answered on 27 Oct 2016
1 answer
129 views
Is there any way to use logical operators like AND or OR in formula? Stacking IFs is rather inconvinient in larger formulas.
Veselin Tsvetanov
Telerik team
 answered on 27 Oct 2016
3 answers
415 views

I have a requirement to show by default editable textbox in each cell of a row. i saw teleriks examples but they say when you click on cell then they become editable.

1. my first requirement is to by default show textbox in each cell of the row.

2. in the same context , second requirement is to calculate the total of numeric textboxes value in a row and show the total in the last column which will be a normal cell (i mean not editable)

Please guide

 

Konstantin Dikov
Telerik team
 answered on 27 Oct 2016
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?