- ASP.NET Core 7
- Entity Framework
- Deployed on Azure (App service and SQL Server)
I have three textboxes on a page. The text boxes can contain a substantial amount of text. Users will discuss with clients and record information in these text boxes. The duration of each discussion can be a few hours.
Question: how can I save the data entered in the textbox at regular intervals where the user actively inputs information without performing a full page refresh? I want to ensure the user does not lose any entered information and can continue working without waiting for the page to reload.
According to your description, I suggest you could use Juqery ajax to achieve this requirement. You could use setInterval method which will trigger the method to post the textbox to the backend method.
More details, you could refer to below codes:
Client:
Backend method:
Result: