PeterBlum.com was active from 2002 - 2013, when ASP.NET Web Forms were all the rage.
Thanks for your patronage!
Feel free to browse this preserved snapshot of the products, demos, and documentation from those days. Then hop over to github.com/plblum to see what Peter's been working on lately.
The Peter's Interactive Pages module enhances the page submission process with these techniques:
<des:TextBox ID="TextBox1" runat="server" EnterSubmitsControlID="Button1" /> <des:RequiredTextValidator ID="RequiredTextValidator1" runat="server" ControlIDToEvaluate="TextBox1" ErrorMessage="This field requires an entry" /> <br/> <des:Button ID="Button1" runat="server" Text="Submit" ConfirmMessage="The data appears valid. Do you want to save it?" DisableOnSubmit="True" /> <des:Button ID="Button2" runat="server" Text="Cancel" ConfirmMessage="This page has not been saved. Do you want to abandon any changes?" CausesValidation="False" DisableOnSubmit="True" />
You would assign these values in your Page_Load method:
PeterBlum.DES.Globals.WebFormDirector.InitialFocusControl = TextBox1 PeterBlum.DES.Globals.WebFormDirector.RegisterKeyClicksControl(TextBox1, Button2, 27, true) PeterBlum.DES.Globals.WebFormDirector.SubmitOrder = PeterBlum.DES.Web.SubmitOrderType.ValidateConfirmCustom