Telerik Forums
UI for Blazor Forum
4 answers
1.2K+ 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
209 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
103 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
275 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
248 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
989 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
192 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
3 answers
313 views

Hi,

Right now, when I click on a highlighted treeview item it only fires the onClick if I click directly on the text. How can I add some css to make the highlighted area clickable. By highlighted I mean:

 

div.k-treeview span.k-in:hover {
        background-color: pink;
        color: black;
    }

 

Randy Hompesch
Top achievements
Rank 1
 answered on 29 Nov 2019
1 answer
5.4K+ views
How to apply style to a row (for example background color) inside a Grid? I've tried RowTemplate but the contents of a RowTemplate must be <td> elemets. If I wrap <td> elements inside a <div> the layout breaks.
Marin Bratanov
Telerik team
 answered on 29 Nov 2019
1 answer
481 views

Hi,

I'm trying to implementa a RowTemplate. My grid has a GridCheckboxColumn as a first column but I don't know what to put in the first <td> element.
I have tried putting <input type="checkbox" /> but context variable has no knowledge of a checked row.

Any help is appreciated.

Marin Bratanov
Telerik team
 answered on 29 Nov 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?