All Questions
Tagged with components c#
328 questions
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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))
{
<...
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 ...
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 ...
-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 ...
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 ...
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 ...
-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....