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: Dynamic Building Controls and PostBack issues
snostr

From: New York, NY USA
Posts: 1
Member Since: 07/17/06
posted July 18, 2006 9:05 AM

Hi,
 My app is dynamically building Several LiveButtons based on a user selection. They need to be dynamic. I'm adding them to the page as a control to a LivePlaceHolder. However, whenever one of them is clicked, they dissapear if I don't rebuild them on Page_Load.

I thought the purpose of the LiveControl was to prevent the page_load from happening on a click event? Why do I need to keep rebuilding my dynamic controls? Is there a way around this?
Jeff Cranford



From: Rome, NY USA
Posts: 586
Member Since: 05/30/01
posted July 21, 2006 12:58 PM

Hello. Take a look at the LiveTutorial sample which ships with the installation kit. This sample uses exact technique you describe to load the various demonstratations.
Reply | PowerWEB LiveControls for ASP.NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX