Working with Themes in ASP.NET 2.0
page 8 of 10
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 44627/ 112

Images in Theme

Themes enable us to incorporate actual images into the style definitions. A lot of controls use images to create a better visual appearance. We should create an Images folder within the Themes folder itself.

Listing 14

<asp:image ID="Image1" 
 runat="server" Imageurl="Images/testImage.jpg" />

When the above reaches the client, the browser will be smart enough to request testImage.jpg from the App_Themes/ myTheme /Images directory (when myTheme is the selected theme).

View Entire Article

User Comments

No comments posted yet.

Product Spotlight
Product Spotlight 

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2023  |  Page Processed at 2023-02-09 12:42:08 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search