Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keeping added controls on postback
Message
From
23/05/2006 16:11:17
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01123789
Message ID:
01124380
Views:
20
>Nooooo.... where woould preseve them? The page goes away after everyhit! You added the controls manually it's your responsibility. If you put them in Markup ASP.NET manages that for you because it becomes part of the class.
>
>You can create a base class and add controls from there and then they will show up everytime in your inherited class.

It could be a setting. Because, in my case, the form should be shown as is on the postback, if the validation fails. The values are preserved and this is good. But, the controls are not and this is what could be made from a setting.

Even if I create a base class, the business logic to determine what should be added or not comes from the database and at run time. So, this base class cannot be created at design time.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform