Login  
Search All Forums
Dart Home | PowerWEB LiveControls for ASP.NET | Custom Development Reply | PowerWEB LiveControls for ASP.NET Topics | Forums   
AuthorForum: PowerWEB LiveControls for ASP.NET
Topic: Page can have only one server-side Form tag
benles

From: Santa Barbara, CA USA
Posts: 16
Member Since: 05/10/05
posted May 12, 2005 3:39 AM

I get an error saying "page can have only one server-side Form tag" when I put a LiveButton and LivePlaceHolder inside a user control.

This seems like a simple thing, what am I doing wrong?
benles

From: Santa Barbara, CA USA
Posts: 16
Member Since: 05/10/05
posted May 12, 2005 3:39 AM

I should clarify: I get the error when I click the button.
Jeff Cranford



From: Rome, NY USA
Posts: 586
Member Since: 05/30/01
posted May 13, 2005 9:54 AM

I have verified this as a bug, and have written it up as issue #3168. It is likely that this will be fixed by the next release (end of May) By the way, the error message "page can have only one server-side Form tag" seems to be a generic error message Microsoft generates when there is a problem rendering the page, so it probably has nothing to do with the "form tag" at all.

It seems to be related to the LivePlaceholder. Is there another control you could use in place of the LivePlaceholder? How are you using it...maybe I'll have some suggestions.
benles

From: Santa Barbara, CA USA
Posts: 16
Member Since: 05/10/05
posted May 13, 2005 10:25 AM

I was using it to dynamically load user controls and also to place panels into the Controls collection.

I can probably work around it. Anything that can be done with a placeholder can be done without one :)
Jeff Cranford



From: Rome, NY USA
Posts: 586
Member Since: 05/30/01
posted May 13, 2005 10:35 AM

This is the first time I have tested dynamically loading controls into a LivePlaceHolder that is on a UserControl. I do know it works ok if the LivePlaceHolder is on the main Page and is used to load UserControls or other Controls. If you can pursue this route, the only suggestion I would add is to dynamically load the control in Page_Init if possible...if not, the LiveControls will not properly function.
Reply | PowerWEB LiveControls for ASP.NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX