Open-Source WilsonWebForm for Multiple Server Forms

I've finally decided to make my WilsonWebForm open-source on SourceForge:

The ASP.NET WilsonWebForm enables Multiple Forms and Non-PostBack Forms, finally allowing you to overcome this built-in ASP.NET restriction. This is a real Server Form that supports WebControls, ViewState, and Events, as well as the Action attribute to Post to other pages/sites. The only limitation is that Validation controls are not supported, but a single regular server form can still be used at the same time. The typical usage is to continue to use the regular server form for the main page content, with validators, while using the WilsonWebForm for small side forms for things like search, login, or preferences. The source code of this control is available in both C# and VB.NET, along with a simple demo application that fully show's how to use it.

I've had several in the past mention they would like to add support for validators -- so here's your chance!

Published Friday, September 03, 2004 9:05 PM by PaulWilson

Comments

# re: Open-Source WilsonWebForm for Multiple Server Forms

This is a fantastic move Paul, thanks! I've been dying to know how you did this - I guess than now I can find out :-)

Saturday, September 04, 2004 5:52 AM by Scott Galloway

# re: Open-Source WilsonWebForm for Multiple Server Forms

I agree with Scott!

Thanks very much for making it open-source I'm sure many people will appreciate it.

I know I do!

John

Saturday, September 04, 2004 8:14 AM by John Mandia

# re: Open-Source WilsonWebForm for Multiple Server Forms

Can you put a WilsonWebForm inside a normal asp.net form? For instace, if you use a WilsonMasterPage template for all of your pages and an ascx UserControl for your left-column navigation, can you put the WilsonWebForm inside that left column navigation control?

Saturday, September 04, 2004 3:23 PM by Shannon J Hager

# re: Open-Source WilsonWebForm for Multiple Server Forms

The problem with that is html and browsers. In other words, while there's nothing to stop you from putting a WilsonWebForm inside a normal asp.net form from the asp.net view, most browsers don't support a form inside another form -- its html that gets you here.

So I would recommend you redesign you master page so that the entire page is not inside the regular asp.net form. My site has a left column and a preferences area at the top of the rest of the page -- then the rest below that is the main content region which is where my regular asp.net form is at. This way I have a WilsonWebForm on the left side for my search box that posts to a separate search page, and another WilsonWebForm for my preferences area -- while still having my main content area work just like normal.

Saturday, September 04, 2004 4:21 PM by Paul Wilson

# re: Open-Source WilsonWebForm for Multiple Server Forms

yeah, that was a dumb question, huh? It was Saturday, I forgot to think first. :)
Thanks for the reply.

Sunday, September 05, 2004 6:33 PM by Shannon J Hager

# Paul Wilson and OSS

Tuesday, September 07, 2004 7:26 PM by TrackBack

# re: Open-Source WilsonWebForm for Multiple Server Forms

Been very curious for a long time on how you did this. Thanks for sharing the code!

Wednesday, September 08, 2004 12:42 AM by Chris Ongsuco

# Open-Source ADO.NET XML Provider -- WilsonXmlDbClient v1.0

Saturday, September 18, 2004 11:43 AM by TrackBack

Leave a Comment

(required) 
(required) 
(optional)
(required)