Telerik Forums
UI for ASP.NET MVC Forum
0 answers
81 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
102 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
116 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
113 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
96 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
114 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
404 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
1 answer
114 views

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)
                        .
                        .
                        .
                        )

 

Tony
Top achievements
Rank 1
Iron
 answered on 16 Aug 2022
0 answers
115 views

Hello, when I use aggregation, the data will not be displayed. When I do not use aggregation, the data will be displayed normally. I use mysql, and there is no such problem after changing to SQL server. So I want to ask how to solve the problem that data will not be displayed when using mysql.

 

 

 

 

 

盼宇
Top achievements
Rank 1
Iron
 asked on 16 Aug 2022
0 answers
104 views
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?