Telerik Forums
UI for ASP.NET Core Forum
1 answer
338 views
I have an ASP.NET Core (.NET 5) project open in Visual Studio 2019 (16.8.3) but when I try to convert it to a Telerik Project, I receive the following error. What's the best way to solve this?

Failed to execute command.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.KendoUI.ASP.NET.Core.VSX.Wizards.ConvertWizard.GetPropertyValue(String propertyName)
   at Telerik.VSX.WizardEngine.Controls.WizardControlBase.PopulateCollectedValues(IPropertyDataDictionary gatheredData)
   at Telerik.VSX.WizardFramework.Pages.DynamicPageController.GetData()
   at Telerik.WizardFramework.Wizard.GetCurrentPageData()
   at Telerik.WizardFramework.Wizard.UpdateNavigation()
   at Telerik.WizardFramework.Wizard.EnsureInitialized()
   at Telerik.VSX.WizardEngine.ScenarioManagement.ScenarioDefinitionExecutor.CreateWizard(IWizardContext wizardControlContext, IDispatcher dispatcher, IWizardUI ui)
   at Telerik.VSX.WizardEngine.ScenarioManagement.ScenarioDefinitionExecutor.CollectData(IDispatcher dispatcher)
   at Telerik.VSX.WizardEngine.ScenarioManagement.ScenarioDefinitionExecutor.CollectData()
   at Telerik.VSX.ProjectManagement.StreamlinedProjectConfiguration.LaunchWizard(ProjectConfigurationType options)
   at Telerik.VSX.ProjectManagement.StreamlinedProjectConfiguration.LaunchWizard(ProjectConfigurationType options, PrepareWizardDelegate prepareWizardDelegate, CheckPrerequisitesDelegate checkPrerequisites)
   at Telerik.KendoUI.ASP.NET.Core.VSX.ProjectConfigurators.StreamlinedProjectConfiguration.StartConvertWizard()
   at Telerik.KendoUI.ASP.NET.Core.VSPackage.CommandExecutor.Execute(UInt32 commandId)
   at Telerik.VSX.VSPackage.PackageBase.CommandCallback(Object sender, EventArgs e)
Nikolay Mishev
Telerik team
 answered on 23 Dec 2020
3 answers
417 views
     I can only create 2.0 and 2.1 projects for some reason. I've just downloaded and installed VS 2019 (with ASP.NET Core) and Telerik (using the Progress Control Panel) and it won't let me create a 3.1 project.
Dimitar
Telerik team
 answered on 22 Dec 2020
1 answer
362 views

Hi,

  I am able to bind the form to a view model, but I want to add some extra text or image between fields, is it possible?

 

Thanks,
Wesley

Ivan Danchev
Telerik team
 answered on 21 Dec 2020
1 answer
120 views

On this page:

https://www.telerik.com/aspnet-core-ui/listbox

There is a See Demo button that references this link:

http://demos.telerik.com/kendo-ui/listbox/index

 

This link is incorrect as it brings me to the "Kendo UI for JQuery".  Instead, I expect it to bring me to the aspnet core demos

https://demos.telerik.com/aspnet-core/listbox/templates

 

This is quite confusing.

Eyup
Telerik team
 answered on 21 Dec 2020
2 answers
525 views

Hi

I am having trouble understanding what some of these options do and having trouble to find documentation about it

 

@Html.Kendo().Grid<Model>().Name().Columns().DataSource(source => source.Ajax().PageSize(20).Model(m => model.Id(p =>p.Id)).ServerOperation(false).Read(read => read.Action("","").Data("getId")

 

I don't understand what Model does in Datasource, ServerOperation(false), and .Data("getId").

I also have a endpoint 

public ActionResult GetData([DataSourceRequest] DataSourceRequest, int id){ // some stuff }

 

 

I understand this is hit by the Action Method in read but I don't understand why most of the DataSourceRquest in empty (for instance page size is 0, when I would think it would be 20).

 

 

 

Nikolay
Telerik team
 answered on 21 Dec 2020
4 answers
367 views
Will the MenuBar work inside the new AppBar component? I've placed a menubar inside but the menu items disappear under the exterior appbar. Is there a workaround or solution to this?
Anton Mironov
Telerik team
 answered on 18 Dec 2020
2 answers
166 views

I am able to get data from the source.Read method as pictured.  However, the control doesn't display back the data.

Once I get that working, I need to post changes to the item order.  If I have:

  1. a
  2. b
  3. c

Then I move c up one:

  1. a
  2. c
  3. b

How do I capture the position of c and the position of b to update the database using the Order property?  I assume I capture the onReorder event.  

    public partial class Option
    {
        public int Id { get; set; }
 
        [MaxLength(50)]
        public string Name { get; set; }
        [MaxLength(128)]
        public string Description { get; set; }
 
        public int Order { get; set; }
...
@(Html.Kendo().ListBox()
    .DataTextField("Name")
    .DataValueField("Id")
    .DataSource(source =>
    {
        source.Read(read =>
        {
            read.Action("IndexJson", "SessionOptionTemplates").Data("gridGetData");
        });
    })
    .Toolbar(toolbar =>
    {
        toolbar.Position(ListBoxToolbarPosition.Right);
        toolbar.Tools(tools => tools
            .MoveUp()
            .MoveDown()
            .Remove());
    })
    .Events(events => events
        .Remove("onRemove")
        .Reorder("onReorder")
    ))

 

Thanks in advance for your help, Joel

Georgi Denchev
Telerik team
 answered on 18 Dec 2020
1 answer
112 views
hi
i want to show sub-items of row when i search item in TreeList.
i enabled search toolbar but when i search something only that rows filter and show but without sub-items.
thanks
Eyup
Telerik team
 answered on 18 Dec 2020
6 answers
239 views
Hello,

If the data virtualization is enabled, when the user scrolls down in the DropDownList, a lot of server calls are done with different page numbers (sometimes, more than 10 calls are done). I would like to have only one server call when the user stops scroll, because my SQL query is complex and take times. I tried to play with the not documented delay options of the kendo.virtualist but it doesn't work, it just delays all the calls.

Is there a way to not have all these intermediates server calls ?
Stéphane
Top achievements
Rank 1
 answered on 17 Dec 2020
2 answers
566 views
I want to use [Telerik ASP.NET Core Grid](https://demos.telerik.com/aspnet-core/grid/index) with **a separated search panel** like the following image

[![enter image description here][1]][1]

How to bind an external search button and other text fields (filters) to enable search in the grid?

  [1]: https://i.stack.imgur.com/rhZhD.jpg
Martin
Telerik team
 answered on 17 Dec 2020
Narrow your results
Selected tags
Tags
+? 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?