Telerik Forums
UI for Blazor Forum
1 answer
180 views

hi

I'm building a system where my users will be able to set up a repeating weekly schedule

I'm wondering if there are any good components suitable for this, i was thinking of making it look like the attached image

since doing it with buttons, would be hard on my users since there would be 168 of them

Marin Bratanov
Telerik team
 answered on 29 Jun 2021
1 answer
2.2K+ views

I am trying to implement a Popup TelerikForm that has a DropDownList of custom class objects. I can not for the life of me figure out why the values are not setting. If I click on a value in the dropdownlist, it defaults back to the first value. I recreated the error in a very simple demo. I want to create a User object, and the User object has a parameter of Position. The DropDownList should show a list of positions, which it does correctly, but the User should be able to click a position and it Bind to User.Position, which is where my problem is. If a position is clicked in the DropDownList, nothing happens.

 

EDIT:

The PopupLayout class is based heavily on the Telerik class. Removing the inheritance does not solve the problem. Changed HandleOnChange to actually update, I took the screenshots while troubleshooting. Even when HandleOnChange only printed the Position to the console, it never did. It seems that the Change event isn't even firing when the DropdownList is in a TelerikForm. Even using @bind-Value does not work.

Marin Bratanov
Telerik team
 answered on 29 Jun 2021
1 answer
387 views

Hi

is the only possibility to import my theme in Sass Theme Builder a json-file? Up to the last version I used the scss-variables. Or do i miss something?

Thank you!

Dimo
Telerik team
 updated answer on 29 Jun 2021
0 answers
105 views

Hi

It's necessary to set the color palette for the chart, the color data for the color palette is taken from the sql data source.

Is there any way to get all data in one go from sql data source in a user function?

 

Andrey
Top achievements
Rank 1
 updated question on 29 Jun 2021
1 answer
105 views

I've noticed I cannot just use straight bootstrap with telerik components and I have noticed that the majority of demos/samples use styling/placement such as k-textbox, k-col-start-6 and much more.  I have no idea what these are doing or how they are used.

I've used bootstrap because there is excellent support for flex and the concepts are not overly difficult.

Is there any similar documentation for all the k- classes?

Trying to do a simple two-column layout.  each column has multiple field groups on a single row.

Pseudo-code

form-row

    col-md-6
        form-group col-md-6
            Label
            TelerikTextBox
        form-group col-md-2
            Label
            TelerikTextBox
        form-group col-md3
            Label
            TelerikTextBox
    col-md-6
        form-group col-md-6
            Label
            TelerikTextBox
        form-group col-md-2
            Label
            TelerikTextBox
        form-group col-md3
            Label
            TelerikTextBox

Ok, I got one step closer.  Use fieldset instead of trying to use grid system solely:

<div class="form-row">
    <div class="col-md-6">
        <fieldset id="LeftColumn" name="LeftColumn">
            <legend></legend>
            <div class="form-group">
                <label></label>
                <input/>
            </div>
            <div class="form-row">
                <div class="col-md-8">
                    <label</label>
                    <input />
                </div>
                <div class="col-md-2">
                    <label></label>
                    <input />
                </div>
                <div class="col-md-2">
                    <label></label>
                    <input />
                </div>
            </div>
        </fieldset>
        <fieldset id="RightColumn" name="RightColumn">
            <legend></legend>
            <div class="form-group">
                <label></label>
                <input/>
            </div>
            <div class="form-row">
                <div class="col-md-8">
                    <label</label>
                    <input />
                </div>
                <div class="col-md-2">
                    <label></label>
                    <input />
                </div>
                <div class="col-md-2">
                    <label></label>
                    <input />
                </div>
            </div>
        </fieldset>
    </div>
</div>

However, fieldset does NOT have the customary border around it.  So, we're back to trying to figuring out your CSS classes again. because there is no documentation.

Dimo
Telerik team
 answered on 28 Jun 2021
1 answer
356 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
303 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
107 views
basically was reproduced using demos, hope it is not true :-)
Marin Bratanov
Telerik team
 answered on 27 Jun 2021
1 answer
1.3K+ 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
804 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
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?