Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the table background
Message
From
28/05/2006 21:44:35
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Changing the table background
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01125598
Message ID:
01125598
Views:
49
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
Next
Reply
Map
View

Click here to load this message in the networking platform