Telerik Forums
UI for Blazor Forum
1 answer
343 views

Hi,

I am trying to publish a blazor WASM hosted app in Release and while building is gives below exception:

nuget\packages\microsoft.aspnetcore.components.webassembly.build\3.2.1\targets\Blazor.MonoRuntime.targets(326,5): error : Unhandled exception. Mono.Linker.LoadException: Error while processing references of 'Telerik.Blazor, Version=2.24.0.0, Culture=neutral, PublicKeyToken=20b4b0547069c4f8'
62> ---> Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'Telerik.Documents.Spreadsheet, Version=2021.2.507.20, Culture=neutral, PublicKeyToken=5803cfa389c90ce7'
62> ---> Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'Telerik.Documents.Spreadsheet, Version=2021.2.507.20, Culture=neutral, PublicKeyToken=5803cfa389c90ce7'
62>   at Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
62>   at Mono.Linker.AssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
62>   at Mono.Linker.LinkContext.Resolve(IMetadataScope scope)
62>   at Mono.Linker.LinkContext.Resolve(IMetadataScope scope)
62>   at Mono.Linker.LinkContext.ResolveReferences(AssemblyDefinition assembly)
62>   at Mono.Linker.Steps.LoadReferencesStep.ProcessReferences(AssemblyDefinition assembly)
62>   at Mono.Linker.Steps.LoadReferencesStep.ProcessReferences(AssemblyDefinition assembly)
62>   --- End of inner exception stack trace ---
62>   at Mono.Linker.Steps.LoadReferencesStep.ProcessReferences(AssemblyDefinition assembly)
62>   at Mono.Linker.Steps.LoadReferencesStep.ProcessAssembly(AssemblyDefinition assembly)
62>   at Mono.Linker.Steps.BaseStep.Process(LinkContext context)
62>   at Mono.Linker.Pipeline.ProcessStep(LinkContext context, IStep step)
62>   at Mono.Linker.Pipeline.Process(LinkContext context)
62>   at Mono.Linker.Driver.Run(ILogger customLogger)
62>   at Mono.Linker.Driver.Execute(String[] args, ILogger customLogger)
62>   at Mono.Linker.Driver.Main(String[] args)

 

Is the Telerik blazor package not compatible in some way with ILLinker?

 

 

 

Marin Bratanov
Telerik team
 answered on 27 Jun 2021
1 answer
286 views
There are no errors in 2.24.1
In 2.25.0 I got 3 identical errors without specifying the source module
RZ9999 The child content element " ChildContent "of the" GridCommandColumn"component uses the same parameter name ("context") as the enclosing child content element" Detailed table "of the"TelerikGrid" component. Specify a parameter name, for example: '< ChildContent context= "other name" > to resolve the ambiguity of SparDeckMasterWeb D:\TutorialSparDeck\SparDeckMasterWebDevOption\SparDeckMasterWeb\RAZORGENERATE 1
Marin Bratanov
Telerik team
 answered on 27 Jun 2021
1 answer
102 views
basically was reproduced using demos, hope it is not true :-)
Marin Bratanov
Telerik team
 answered on 27 Jun 2021
1 answer
1.2K+ views

I have a grid.  I am using a custom form to display details and edit the details.

I am using this ...

<LienholderDetails @bind-SelectedRecord="@selectedRecord" mode="@mode" OnSave="@Save" OnClear="@ClearSelection"></LienholderDetails>
in the parent component after the grid. @mode is add, view, edit, etc.  And I use textboxes in the child component ...
<TelerikTextBox @bind-Value="@SelectedRecord.Name" Label="Company Name" Enabled="@enabled" />

which are enabled or not depending on the mode passed as a parameter.  If a user is authorized to edit the details and clicks "Edit" I wanted to either call the child component with enabled=true or set the @enabled value to true in code.  This avoids having two identical layouts, one enabled and one not.

How would I go about this?  Obviously I would do this for other control types as well.

John
Top achievements
Rank 1
Iron
Iron
 answered on 27 Jun 2021
1 answer
783 views

I am using a Grid and Popup for the EditMode.  I wanted to use a custom form for the popup to add/edit or View the line item details.  So far, I have a command column, command buttons.

The form I have is somewhat large so I am using a TabStrip to  break the form into "sections".  Also I do not use a strict column layout.  Is this something that can be done?

As an alternative, I can navigate away for a detail page.  But I'd like to return to the same spot when I close the detail page.

I would think I'm not the first one with a requirement like this.

  1. Can I use TabStrip inside the Popup form?
  2.  Can I have more control over placement of fields inside the form?
  3.  Is there a way to "return" to the same place in the grid if I have to navigate away?

Thanks,

John

Marin Bratanov
Telerik team
 answered on 26 Jun 2021
1 answer
529 views

Hello,

I want to use your TelerikEditor in my existing project.  Our project primarily uses DevExpress along with a few other components like Blazored Modal.

First I want to know if there are any known issues mixing Devexpress and Telerik in the same project?   My main concern is having CSS clashes between the two libraries.  

2nd, we use Blazored Modal which has a cascading parameter (CascadingBlazoredModal) that wraps the router.   When I try to show the TelerikEditor  in a modal I get the following:

"A Telerik component on the requested view requires a TelerikRootComponent to be added to the root of the MainLayout component of the app. Read more at: https://docs.telerik.com/blazor-ui/getting-started/what-you-need#project-configuration"

I suspect this is because dialog is parented outside of the MainLayout which uses the TelerikLayout.   Is it technically feasible to use the TelerikLayout  inside a view?  

Thanks,

Matt B.

 

 

 

Marin Bratanov
Telerik team
 answered on 26 Jun 2021
1 answer
358 views

I have a form that I would like to use the Window component on to gather additional information before submitting the parent form. 

Is there a way to trigger submit of the parent form and the associated Validations from the Window component? Or is there a different component that should be used?

Marin Bratanov
Telerik team
 answered on 26 Jun 2021
0 answers
119 views

I'm trying out Telerik for Blazor.  Got the latest BlazingCoffee code from Github and a trial license but when I build I get the following error.

File to import not found or unreadable: ./node_modules/@progress/kendo-theme-default/dist/all.scss

I am stumped on what to do to resolve this.

Thanks.

 

Tom
Top achievements
Rank 1
 asked on 25 Jun 2021
1 answer
502 views

I understand from here: https://docs.telerik.com/blazor-ui/components/grid/templates/editor

That the Editor Template gets a copy of the original model.

However not all the values are getting copied correctly for my model object.

I'm using a SmartEnum property, https://github.com/ardalis/SmartEnum, and that property is not getting copied correctly, basically, it's empty.

I'm wondering how this "copy" is being made, cloned?, so I can update either the model of my SmartEnum instance.

Thanks,

Ed

Nadezhda Tacheva
Telerik team
 answered on 25 Jun 2021
1 answer
284 views

Is it possible via the DataSourceRequest to generate the string to bring back sub objects and even sub sub objects?

It does not seem to fit in the  FilterDescriptor.

 

Stamo Gochev
Telerik team
 answered on 25 Jun 2021
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?