skip to Main Content

Is CS0029 an error when passing component @ref in Visual Studio Code Maui Blazor?

After updating Visual Studio to version 17.6.0, the following error occurred in my MAUI project: Error CS0029 Cannot implicitly convert type 'Microsoft.AspNetCore.Components.ElementReference' to '<componentName>' Here is my code: @using UI.Components.Dialogs.InfoDialog @using UI.Components.Dialogs.InputDialog @using UI.Components.Dialogs.MessageDialog @using UI.Components.Dialogs.SettingsDialog @using UI.Components.Dialogs.ProcedureTypeSelectorDialog @using UI.Services;…

VIEW QUESTION

Can you submit a form in ASP.NET w/o an ?

Suppose I have this form: <form id="myForm" runat="server"> <!-- Form content goes here --> <a type="submit">Submit</a> </form> I want to use the anchor link to submit the form,but cannot find how. I tried adding OnServerSubmit() as an attribute to the…

VIEW QUESTION
Back To Top
Search