Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the table background
Message
De
28/05/2006 21:44:35
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Changing the table background
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01125598
Message ID:
01125598
Vues:
50
In a Web form, I have a table defined as follow:
<table width="419" height="150" border="0" align="center" cellpadding="0" cellspacing="0" background="Images/LOGIN.jpg">
This login page contains a lot of HTML code inside this table. It also includes some runat server controls. The only thing needed to complete the page is to adjust the background image dynamically from the code behind. As the table tag is not a ASP.NET control, I cannot get a handle of it from the code behind. So, I thought I could replace that HTML tag with the ASP.NET table control. But, if I do it, I have to change the entire page completely as we cannot use HTML tags inside a table control. The only thing I need is to change this background image based on a specific condition. I guess I will have to do that from javascript from the client side. Any other ideas?
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform