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

I have a grid that has a field that applies an array of numbers
While reading, I present his values like this:
[2,5,900]
While editing it doesn't show me anything
how do I do it
Would appreciate help
Thanks

read:

edit:

Ivan Danchev
Telerik team
 answered on 06 Sep 2022
0 answers
110 views

Hi all,

due to my age (hmm, it sounded like a good excuse at least) I've been clawing myself to the WebForms paradigm for far too long and have decided to take the leap to the ASP.NET MVC (Core and Blazor would be fun, but unfortunately many of the hosting services I have to work with don't support it yet).

One question that struck me though is regarding security and authentication?

How do one make sure that the calls for instance the .Read, .Update or .Destroy on the Kendo UI Grid is only accessible if a user is logged on?

Johannes
Top achievements
Rank 2
 updated question on 04 Sep 2022
1 answer
106 views

Hello,

we want the grid to display all texts in german, but our grid footer shows texts in english and german:

Also the texts in some messages, the delete confirmation for example, also show in english.

This is only after we deployed the application to the server. On the developer machine texts are correctly displayed in german.

We've set up our application by adding these in the _Layout.cshtml:

<script src="~/Scripts/kendo/2022.2.510/cultures/kendo.culture.de-DE.min.js"></script>
<script src="~/Scripts/kendo/2022.2.510/messages/kendo.messages.de-DE.min.js"></script>
<script>
    kendo.culture("de-DE");
</script>

We also included this in the web.config:

<globalization uiCulture="de-DE" culture="de-DE" />

 

We have other applications, which are set up similarly, using the same Telerik version 2022.2.510, and which are working fine. We can tell no difference, really. Is there anything we might have overlooked?

Anton Mironov
Telerik team
 answered on 02 Sep 2022
0 answers
92 views

Hi, when i try and upgrade my telerik solution to the latest version via the Visual Studio extension in vs2022, i get the following error

System.ArgumentException: Illegal characters in path.
   at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
   at System.IO.Path.Combine(String path1, String path2)
   at Telerik.VSX.Internal.ProjectManagement.ProjectFileLocator.GetProjectItemPathsRecursive(String projectItemName, ProjectItems projectItems, String pathSoFar, IList`1 accumulatedResults)
   at Telerik.VSX.Internal.ProjectManagement.ProjectFileLocator.GetProjectItemPaths(String projectItemName)
   at Telerik.VSX.Web.MasterPageProcessing.Locator.RazorMasterPageLocator.GetMasterPagePresent()
   at Telerik.VSX.Web.MasterPageProcessing.ProjectSettingsReader.EnsureMasterPageDetectedInitialized()
   at Telerik.KendoUI.Mvc.VSX.ProjectConfigurators.ProjectConfigurationTypeSelector.GetConfigureProjectPreWizardData(IScenarioDef template)
   at Telerik.KendoUI.Mvc.VSX.ProjectConfigurators.ProjectConfigurationTypeSelector.ProjectConfiguration()
   at Telerik.KendoUI.Mvc.VSX.ProjectConfigurators.StreamlinedProjectConfiguration.StartConfigureWizard()
   at Telerik.VSX.VSPackage.PackageBase.CommandCallback(Object sender, EventArgs e)

 

The problem also occurs when i try the configure project option. 

 

From what i can see there are 2 potential areas

1 - Our project has a fullstop in the project name ie [PROJECT].UI

This is part of our in house naming convention, but i don't know how the system would have worked with it before but not now

2 - We moved a lot of our scripts into a shared project, including the required kendo scripts / css, which hasn't been an issue, but maybe thats what might be causing this.

Any help would be appreciated.

James
Top achievements
Rank 1
 asked on 02 Sep 2022
1 answer
117 views

Hi Everyone.

I have a tabsrip with three two tabs, each tab has grid and calling the controller to get the data.

My question is how to  show the content when user clicks the tab (On Demand). I don't want to load the while page loads.

grid:

@(Html.Kendo().Grid<KendoUIMVC5.Models.ProductViewModel>()
                                        .Name("ContentionPriorityGrid")
                                        .Columns(columns =>
                                        {
                                            columns.Bound(s => s.ProductName).Width(400);
                                            columns.Bound(s => s.UnitPrice).Width(100);
                                        })
                                        .DataSource(dataSource => dataSource
                                            .Ajax()
                                            .ServerOperation(true)
                                            .Read(read => read.Action("Bank1", "Home"))
                                            )
                                        .NoRecords()
                                        .Sortable()
                                        .Filterable()
                                      )

Thanks,

Raja. 

Petar
Telerik team
 answered on 31 Aug 2022
0 answers
131 views

When spreadsheet click Submit, the value of my cell is copied and pasted in. I can't get the value of data.updated in the background! How to solve this problem

zhe
Top achievements
Rank 1
Iron
Iron
 asked on 30 Aug 2022
1 answer
127 views

Currently I have two buttons assigned to the HeaderTemplateId for my MultiSelectFor Kendo control, I'm able to navigate to the items in the list but would also like to tab into or use arrow keys to navigate to the header template as well. I couldn't find any documentation for this particular use case, is there functionality to enable keyboard navigation for the header template?

MultiSelectFor control:

@(Html.Kendo().MultiSelectFor(model => model.Name).Name("MultiSelect1")
                              .Placeholder("Select item")
                              .DataTextField("Text")
                              .DataValueField("Value")
                              .HeaderTemplateId("HeaderTemplate")
                              ...
                    )
described HeaderTemplate:
<script type="text/x-kendo-template" id="HeaderTemplate">
    <button class="k-button" onclick="SomeFunctionA(this)">Select All</button>
    <button class="k-button" onclick="SomeFunctionB(this)">Remove All</button>
</script>


Ivan Danchev
Telerik team
 answered on 23 Aug 2022
0 answers
106 views

Can I translate the header generated in the first line into Chinese. Translation, urgentspreadsheet

zhe
Top achievements
Rank 1
Iron
Iron
 asked on 23 Aug 2022
0 answers
127 views

Hello,
Can I use the onchange method while doing inline editing?

why css doesn't show properly in editing process? could you give information?

 

Engineer
Top achievements
Rank 1
 asked on 19 Aug 2022
1 answer
435 views

Hi,

I am using kendo grid to display kendo rating. the stars are displaying on edit mode only.

GRID

@(Html.Kendo().Grid<language>()
        .Name("LanguageGrid")
        .EnableCustomBinding(true)
        .Columns(columns =>{
            columns.Bound(p => p.languagename).Width(200).Title("Language").EditorTemplateName("_DropdownEditor").ClientTemplate("#=languagename.description#");
            columns.Bound(c =>c.speak).Width(300).Title("Speak").EditorTemplateName("_Rating").ClientTemplate("#=speak#");
            columns.Bound(p => p.read).Width(300).Title("Read").EditorTemplateName("_Rating").ClientTemplate("#=read#");
            columns.Bound(p => p.write).Width(300).Title("Write").EditorTemplateName("_Rating").ClientTemplate("#=write#");
            columns.Command(command => { command.Edit(); command.Destroy(); }).Width(250);
        })
        .ToolBar(toolbar => {
            toolbar.Create();
        })

 

_Rating.cshtml

@(Html.Kendo().RatingFor(m => m)
        .Min(1)
        .Max(5)
        .Selection("continuous")
        .Label(false)
)

 

Yanislav
Telerik team
 answered on 18 Aug 2022
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
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
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?