leleco
leleco
CC#
Created by leleco on 9/20/2023 in #help
❔ Blazor - Get objects from child components
No description
5 replies
CC#
Created by leleco on 8/31/2023 in #help
❔ Blazor - Component button with different event depending on the page that call it
Hi, I have a component that has 4 buttons (Open, Save, Clear, Run), and this component is used in every page of the app. The "Run" button though, needs to trigger a specific event for each page it's clicked on. What's the best way to do it? I've been researching about EventCallback but I'm not sure if this is the correct approach for this situation. Thanks!
5 replies
CC#
Created by leleco on 6/22/2023 in #help
❔ Exception trying to run code from a .NET Framework 4.5.2 on .NET 6 project
Hi, I have a new project using .NET 6, but I need to call a method in a project using .NET Framework 4.5.2. Per company policies I don't have rights to upgrade this project, so I have to use it as it is. When trying to call a method from this old project, I keep getting this runtime exception:
System.TypeLoadException
HResult=0x80131522
Message=Could not load type 'System.Web.HttpRuntime' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
System.TypeLoadException
HResult=0x80131522
Message=Could not load type 'System.Web.HttpRuntime' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
Been trying to search for a solution, but no luck so far. Thanks!
10 replies