Telerik Forums
UI for Blazor Forum
2 answers
258 views

I see that Grid supports binding to INotifyCollectionChanged (https://demos.telerik.com/blazor-ui/grid/observable-data).

It is wonderful!

1) Is that binding supported in other list controls (ComboBox, DropDownList)?

2) Does Telerik support binding to INotifyPropertyChanged? This question applies to all controls.

  • Добавить в Словарь
     
    • Новый список слов для Английский -> Русский...
       
    • Создать новый список слов...
  • Копировать
  • Добавить в Словарь
     
    • Новый список слов для Английский -> Русский...
       
    • Создать новый список слов...
  • Копировать
  • Добавить в Словарь
     
    • Новый список слов для Английский -> Русский...
       
    • Создать новый список слов...
  • Копировать
Igor
Top achievements
Rank 1
 answered on 13 Dec 2019
2 answers
303 views

Hi (Marin)!

I have some questions/suggestions around the pager part of the grid:

  • It would be nice if we could specify whether to show the page numbers at all and if so, how many. This can become an issue particularly on mobile browsers.
  • On mobile browsers the pager part of the grid has a few issues. Firstly the end of the pager is cut off and the numbers etc don't flow. Secondly the "1 - 50 of 130 items" text does flow across multiple lines and causes the height of the pager to increase which takes up a lot of the mobile screen. I think ideally the number of page selectors (the "1", "2", "3" page numbers in boxes) would reduce to the point they disappear completely as the screen width decreases, leaving just the next/previous, first/last arrows, to reduce the amount of space the pager takes up. And the "1-50 of 130 items" would maybe be hidden completely.

I realise I can probably adjust this using CSS myself, but it would be nice to have some better default behaviour!

I've attached some screen shots (simulated on desktop) to illustrate the issue

Thanks,
Nick

 

Marin Bratanov
Telerik team
 answered on 11 Dec 2019
4 answers
712 views
Is there a way to set/limit the number of pages that show in the paging control? It looks like this is calculated by the grid using the number of items per page (configurable) and how many items in the grid.
Nick
Top achievements
Rank 1
 answered on 11 Dec 2019
4 answers
1.1K+ views

The documentation recommends using the static assets approach and says:

"You can add the JS Interop file as a static asset from our package, instead of using a CDN. Static assets (the _content folder) are automatically included in the solution by the Nuget package, so all that's needed is then to reference the asset:"

There is no _content folder (using ZIP archive with private .nupgk files, version 2.5.0) and no assets.

Regards
Heiko

Heiko
Top achievements
Rank 1
Iron
Veteran
 answered on 11 Dec 2019
5 answers
191 views

Hello

I have in the latest months tested Blazor with Telerik components.

 

Friday, my code worked as intended with Telerik DataSource 1.3.0 and Telerik UI for Blazor 2.2.1.

Today, the calendar was shown as friday, but the days were unselectable, and the TelerikCharts were invisible.

 

What can I do to prevent it?

I have tried to edit the reference to css and js files to older editions, but without effect.

 

Thank you in advance

Aksel

Marin Bratanov
Telerik team
 answered on 10 Dec 2019
4 answers
101 views

Is a new release coming for 3.1 any time soon? ETA? I'm not pushing -- just trying to plan for the change.

Mark

Marin Bratanov
Telerik team
 answered on 09 Dec 2019
8 answers
269 views

Hi,

 

I'm getting an odd compile error having upgraded to the latest .Net 3.1. I've recreated the issue by simply creating a new Blazor (client) project and adding the Telerik package, it goes away when I remove it.

VS 2019 16.5 preview 1. In the upgrade scenario I upgraded all the packages to 3.1.0-preview4.19579.2, obviously it picked these up when I created a new project as well.

The error is:

Severity    Code    Description    Project    File    Line    Suppression State
Error    MSB4018    The "ResolveBlazorRuntimeDependencies" task failed unexpectedly.
System.InvalidOperationException: Multiple assemblies found with the same assembly name 'Microsoft.CodeAnalysis.resources':
Microsoft.CodeAnalysis.resources
C:\Users\NickWhymark\.nuget\packages\microsoft.codeanalysis.common\3.4.0\lib\netstandard2.0\de\Microsoft.CodeAnalysis.resources.dll
   at Microsoft.AspNetCore.Blazor.Build.ResolveBlazorRuntimeDependencies.<ResolveRuntimeDependenciesCore>g__CreateAssemblyLookup|17_1(IEnumerable`1 assemblyPaths)
   at Microsoft.AspNetCore.Blazor.Build.ResolveBlazorRuntimeDependencies.ResolveRuntimeDependenciesCore(String entryPoint, IEnumerable`1 applicationDependencies, IEnumerable`1 monoBclAssemblies)
   at Microsoft.AspNetCore.Blazor.Build.ResolveBlazorRuntimeDependencies.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()    BlazorApp1.Client    C:\Users\xxx\.nuget\packages\microsoft.aspnetcore.blazor.build\3.1.0-preview4.19579.2\targets\Blazor.MonoRuntime.targets    252    

It's a bit odd as it seems to be something to do with Analyzers and I'm not sure why that should break the build or what Telerik has to do with it?

Thanks,
Nick.

Marin Bratanov
Telerik team
 answered on 05 Dec 2019
1 answer
239 views
Hello,
i wanted to know how can i get the the whole object instead of pass ValueField and Get That as a value 

<TelerikDropDownList Data="@myDdlData" TextField="MyTextField" ValueField="MyValueField" @bind-Value="selectedValue"></TelerikDropDownList>

like in here i want my ValueField be the whole object no MyValueFierd
Marin Bratanov
Telerik team
 answered on 04 Dec 2019
6 answers
967 views

  Here is my situation -- I have a number of nested controls and I have a cascading value that encompasses all the controls.  When I put one of my nested components inside a Telerik window then the cascading parameter on said component does not work (it gets value of null). If I move my component just outside the Telerik window and nothing else -- then the parameter gets the correct value.

Is this a bug? Does the parameter not get a value in the control because the window's "visible property" is false initially which maybe prevents the property from being set properly? 

 

 

Mark
Top achievements
Rank 1
 answered on 02 Dec 2019
2 answers
186 views

Hi,

How can I translate the following markup into a row template?

Thanks … Ed

<GridCommandColumn Width="300px">
      <GridCommandButton Command="Save" Icon="save" ShowInEdit="true">Update</GridCommandButton>
      <GridCommandButton OnClick="@((args)=> SelectDashboardModel(args.Item as DashboardModel))" Icon="edit">Edit</GridCommandButton>
      <GridCommandButton Command="Cancel" Icon="cancel" ShowInEdit="true">Cancel</GridCommandButton>
  </GridCommandColumn>
Randy Hompesch
Top achievements
Rank 1
 answered on 02 Dec 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?