Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keeping added controls on postback
Message
De
23/05/2006 16:11:17
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01123789
Message ID:
01124380
Vues:
16
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform