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?
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?
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.
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>()Thanks,
Raja.
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
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") ... )
<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>
Can I translate the header generated in the first line into Chinese. Translation, urgentspreadsheet
Hello,
Can I use the onchange method while doing inline editing?
why css doesn't show properly in editing process? could you give information?
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)
I have checked out the demo: https://demos.telerik.com/aspnet-mvc/dropdownlist/appearance but changing the Size property of the DropDownList has no effect on the appearance in my project.
@(Html.Kendo().DropDownList()
.Name("payCycle")
.OptionLabel("Select...")
.Size(ComponentSize.Small)
.
.
.
)