my experience – Menon

Multiple Forms in ASP.NET

In Asp.net Page we can host exactly one server form. I’ve found one good article on MSDN which related to the Form Based Programming in ASP.NET. So We can employ multiple forms in a asp.net page and only one of them can have the runat attribute set to server. The request for the page is therefore processed as usual using the code built in the page base class. Temporary class for the page is generated, compiled and finally loaded.
You can find the Article at http://msdn.microsoft.com/msdnmag/issues/03/05/CuttingEdge/default.aspx

Comments on: "Multiple Forms in ASP.NET" (2)

  1. [...] dcaro wrote an interesting post today onHere’s a quick excerptIn Asp.net Page we can host exactly one server form. I’ve found one good article on MSDN which related to the Form Based Programming in ASP.NET. So We can employ multiple forms in a asp.net page and only one of them can have the runat attribute set to server. The request for the page is therefore processed as usual using the code built in the page base class. Temporary class for the page is generated, compiled and finally loaded. You can find the Article at http://msdn.microsoft.com/msdnmag/issues/03/05/CuttingEdge/default.aspx [...]

  2. Arunabh Das said:

    Way to go Microsoft for taking a simple trivial problem like multiple forms on a page and making it out to be like the ultimate holy grail of science. – Arunabh Das

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Tag Cloud

Follow

Get every new post delivered to your Inbox.