Skip to main content

All Questions

Tagged with
0 votes
1 answer
58 views

Blazor: OnInitialized called after a component rerenders

My colleagues and me faced the problem that a blazor component (we call it View) is recreated when a root component's StateHasChanged is called. So, at that moment the View's OnInitialized method is ...
VitalySky's user avatar
0 votes
0 answers
55 views

Blazor Inputbase override for a double only input component - how to validate input

I am trying to build an input box that will always show to 2 decimal places. The model items bound to the component will always be doubles. To clarify what I need, if the text input is 12, the ...
bruceiow's user avatar
  • 327
0 votes
0 answers
51 views

C# IHost as an embedded independent context

I use IHost to declare system components (small embedded applications). This allows to isolate services (DI containers), execution context and testing from the main system. The thing is that the ...
Alex Volkov's user avatar
1 vote
0 answers
115 views

how to make a ComponentResourceManager image to be automatic for each custom component in C#

I'm Trying to make a ComponentResourceManager image to be automatic for each custom component in C# from the decompile library . so previously I had to create a library but the source code was stored ...
dlaksmi's user avatar
  • 389
0 votes
1 answer
60 views

How to capture the parameter values ​of a component in new variables

I have this component with some parameters that take a value within the same component. What I want is to call the component from another place and there obtain the value of those parameters (not ...
Ferdy Andrés's user avatar
0 votes
1 answer
586 views

How can I get Fluent UI panel to close?

I have 3 Blazor Components : 1 that has just a button for the markup but it opens up a Microsoft FLuent UI dialogue which takes a component (ChecklistItemDialogue) as a parameter, inside if ...
Matthew Angel's user avatar
0 votes
0 answers
34 views

Why can I access the form input values in my parent component?

basically I have 2 blazor components , the child (NewChecklist.razor) is a form that takes input values as parameters that are passed in its parent component (ChecklistManagement.razor). I realized ...
Matthew Angel's user avatar
0 votes
2 answers
138 views

How to check if Parameter is binded in C# blazor?

I've written a component which has 30 or so parameters and would like to automatically setup this component when values are binded. This works fine when a value is set, however some of the values are ...
Quispie's user avatar
  • 1,019
1 vote
1 answer
122 views

Blazor component inherit, nothing renders

I want to do simple component inheritance, but I don't see anything when I navigate to /testpage what am I doing wrong? TestBase: @inherits ComponentBase @if (!string.IsNullOrEmpty(Name)) { <...
Greg's user avatar
  • 23
0 votes
0 answers
39 views

The place of control changes (telerik component)

I have a problem with the component(telerik) in Windows Form C#. When I add a control, the place where I put the control gets messed up during the test run of the program and goes to another place, it ...
Eisa Aghajani's user avatar
0 votes
1 answer
54 views

Unity - Components behind the scene

I want to know the programming concept of a component in Unity. I know that every GameObject like a Vehicle can have a component, and that every component has properties, like scale, position and so ...
steeveKA1's user avatar
-2 votes
1 answer
75 views

Trying to access vars within Custom Unity Component Script

I've run into a situation where I'm trying to access variables stored within a script component. There are about 8 actions that a player can do to an gameObject. Users attach these action scripts to a ...
makeITwork's user avatar
0 votes
2 answers
621 views

Blazor InputDate not updating UI upon force change

I'm using the built in ASPNETCORE.Component.Forms InputDate but when selecting a date it does not override the UI when assigning another value it's always the selectedDate. <InputDate ...
Yzak's user avatar
  • 125
0 votes
1 answer
462 views

Including/Getting razor file content in other razor file

Good morning ! After a day searching via google without any kind of result (maybe don't use the good keywords ?) Would like to know if there is a way to achieve this, or what is the best option to do ...
Ziemas Y.'s user avatar
-1 votes
3 answers
1k views

Blazor access value from program.cs from a component [duplicate]

I have a Blazor Server Side application. In the program.cs I have a check if the application is running in development, production or staging. if (builder.Environment.IsDevelopment()) { Console....
SideSky's user avatar
  • 343

15 30 50 per page
1
2 3 4 5
22