I'm trying to upload a pdf to my Sql Server DB using a File Input
The problem seems to be that when I select the pdf, the page automatically reloads, and I need to upload it to the DB directly because I have to make a relationship with other tables, how do I proceed?
I'm not ussing WebAssembly, just the Server side for the app
<EditTemplate Context="model">
<RadzenFileInput @bind-Value="model.FormatForm" Name="FormatForm" @bind-FileName=@fileName
@bind-FileSize=@fileSize TValue="byte" Class="w-100" ChooseText="Elegir" Accept="application/pdf" MaxFileSize="Int32.MaxValue"/>
</EditTemplate>