List of public pages created with Protopage

Home

News

BBC News

This Week in Tech

PopSugar

MSNBC - Top Stories

Fresh Air

ESPN.com

FOXNews.com

USA TODAY - Breaking News and Latest News Today

Washington Post

People.com | Celebrity News, Exclusives, Photos and Videos

New York Post

US Top News and Analysis

Home | Mail Online

Politics, Policy, Political News Top Stories

The Hill News

Bookmarks

Bookmarks

Bookmarks

Plain sticky notes

Sticky note

Click 'edit' on the Bookmarks widget to add all of your favorite sites to your page for quick access

Notes

Plain sticky notes

Sticky note

Sticky note

Click here to type

Mathew and Olivia

Bookmarks

Bookmarks

E'Commerce

Bookmarks

Bookmarks

Community Guardians 2024

Bookmarks

Bookmarks

TrainIT

Bookmarks

Bookmarks

Nimrod

Bookmarks

IFOC QWII Micronet - Harrison Construct

Project Bebe Product Owner

Bookmarks

Bookmarks

C Sharp / Blazor Azure

Plain sticky notes

Sticky note

This Looks Wrong

Rich sticky notes

Rich text note

@page "/your-page-name" 
 <h3>Update Data</h3>
 <input type="text" @bind-value="Id" />

 <input type="text" @bind-value="Field1" required />
 <input type="text" @bind-value="Field2" required />
 <button class="btn btn-primary" disabled="@HasErrors" @onclick="HandleButtonClick">Update</button>
 @if (ErrorMessage != null){ <div class="alert alert-danger">
@ErrorMessage</div>} 
 @code { // ... other code ... private string ErrorMessage { get; set; } private async Task HandleButtonClick() { try { // ... existing code ... ErrorMessage = null; // Clear any previous error message }
 catch (Exception ex) { ErrorMessage = $"An error occurred: {ex.Message}";
 } 
 }
}