Telerik Forums
UI for Blazor Forum
4 answers
754 views
In testing I'm finding users keep forgetting to press the Update button on the grid.  Is there any way to make the grid update the data source on each data change and not require the use of the row Update buttons?
Marin Bratanov
Telerik team
 answered on 06 Sep 2019
2 answers
473 views
Hello Marin
I learn article about themes support and I use it https://docs.telerik.com/blazor-ui/themes
Also I was create own theme by your theme builder. It's work fine.
But i want to change themes as in your blazor demo site by select from dropdown list and change theme immediatelly.
Can you explain me short and right way how to do this.
Thank you.
Andriy
Top achievements
Rank 1
 answered on 05 Sep 2019
7 answers
125 views

Hi,

I guess we need an update for the binaries to support the latest preview....

Eric
Top achievements
Rank 1
 answered on 05 Sep 2019
1 answer
340 views

I've updated to .net preview 9 today and i'm running into an issue with the window components. the TelerikWindow component appears to not have an error, its the child components that appear to be having issues. 

TelerikWindowTitle

TelerikWindowActions

TelerikWindowContents

I believe the issue is caused by the following change in preview 9. 

"Replace Microsoft.AspNetCore.Components.UIEventArgs with System.EventArgs and remove the “UI” prefix from all EventArgs derived types (UIChangeEventArgs -> ChangeEventArgs, etc.)."

 

Any idea on when the Telerik Blazor components will be updated to support preview 9?

Marin Bratanov
Telerik team
 answered on 05 Sep 2019
1 answer
793 views
Hello
I need to display prices and quantities in columns and it's no problem for data. Templates is very usefull thing.
But for Price header I need to place label in center. How can I use it?
Thank you.
Marin Bratanov
Telerik team
 answered on 05 Sep 2019
1 answer
548 views
Hi, I am trying the example from documentation but it doesnt work and report a js problem in browser.

 

Error:

blazor.server.js:15 [2019-09-04T13:35:52.440Z] Error: System.InvalidOperationException: Telerik.Blazor.Components.DropDownList.TelerikDropDownList`2[UI.Pages.Users.User+MyDdlModel,System.Int32] requires a value for the 'ValueExpression' ValueExpression is provided automatically when using 'bind-Value'.
   at Telerik.Blazor.Common.TelerikInputBase`1.SetParametersAsync(ParameterView parameters)
   at Microsoft.AspNetCore.Components.Rendering.ComponentState.SetDirectParameters(ParameterView parameters)
   at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InitializeNewComponentFrame(DiffContext& diffContext, Int32 frameIndex)
   at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InitializeNewSubtree(DiffContext& diffContext, Int32 frameIndex)
   at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InsertNewFrame(DiffContext& diffContext, Int32 newFrameIndex)
   at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.InsertNewFrame(DiffContext& diffContext, Int32 newFrameIndex)
   at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.AppendDiffEntriesForRange(DiffContext& diffContext, Int32 oldStartIndex, Int32 oldEndIndexExcl, Int32 newStartIndex, Int32 newEndIndexExcl)
   at Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiffBuilder.ComputeDiff(Renderer renderer, RenderBatchBuilder batchBuilder, Int32 componentId, ArrayRange`1 oldTree, ArrayRange`1 newTree)
   at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment)
   at Microsoft.AspNetCore.Components.Rendering.Renderer.RenderInExistingBatch(RenderQueueEntry renderQueueEntry)
   at Microsoft.AspNetCore.Components.Rendering.Renderer.ProcessRenderQueue()
 

 

Code:

 

@using Telerik.Blazor.Components.DropDownList
 
<TelerikDropDownList Data="@myDdlData" TextField="MyTextField" ValueField="MyValueField"
                     Value="@InitialValue" ValueChanged="@( (int v) => MyValueChangedHandler(v) )">
</TelerikDropDownList>
 
<br />
@result
<br />
@InitialValue
 
@code {
    IEnumerable<MyDdlModel> myDdlData = Enumerable.Range(1, 20).Select(x => new MyDdlModel { MyTextField = "item " + x, MyValueField = x });
 
    int InitialValue { get; set; } = 3; // an intial value is not required, this example showcases how to set it
 
    string result { get; set; }
 
    public class MyDdlModel
    {
        public int MyValueField { get; set; }
        public string MyTextField { get; set; }
    }
 
    async Task MyValueChangedHandler(int newVal)
    {
        // the type of the value field in the model determines the signature of the handler
        result = $"The user selected {newVal}";
 
        // handling ValueChanged does not let you use value binding, so if you need to update the model
        // you must do that manually in the handler. This is not required, though
        InitialValue = newVal;
    }
}
Marin Bratanov
Telerik team
 answered on 05 Sep 2019
1 answer
1.2K+ views

I am trying to use a Window component with Telerik buttons to allow the user to both make choices and to acknowledge.

If they need to make a choice, I want two buttons. If they need to acknowledge, I want one button.

But the properties of the button don't allow them to be changed programatically.

How to accomplish this?

Marin Bratanov
Telerik team
 answered on 05 Sep 2019
8 answers
288 views

I added a chart to my application and it runs locally. When I deploy it to Azure, nothing is displayed and an error is logged on the browser console.

 

Marin Bratanov
Telerik team
 answered on 03 Sep 2019
0 answers
81 views

Hi!

I'm new to Telerik and I'm working on a task to bypass SSL certificate in Chrome browser. I did some research and seem like this issue can be handled in IE but not easy for other browsers. One way we can do this is to use key strokes (i.e. "Tab" and "Enter"). The problem i'm facing is the NavigateTo("url") command throws an inner exception whenever I try to navigate to a Privacy Page. How do I solve this issue? Is there a way to manually enter url address into address bar without using the NavigateTo() function?

 

Hien

Hien
Top achievements
Rank 1
 asked on 28 Aug 2019
1 answer
157 views

Dear Progress Team

 

We are using UI for ASP.NET Core and we want to migrate to UI for Blazor. However our project is already big and we can not migrate everything at once.

Is it possible to have UI for ASP.NET Core and UI for Blazor in the same c# project?

 

Something like that:

<myapp>/admin/ <-- legacy screens working with Core

<myapp>/newfeature/ <-- Blazor

 

if this is possible would you mind to setup up a very basic project that shows how this can be done?

that would be awesome. 

 

Best

Giuseppe

 

Marin Bratanov
Telerik team
 answered on 28 Aug 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?