CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 2/21/2007 4:39:30 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 23 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
vertical
Asp.Net User
How to cache an image from a Master Page2/21/2007 4:39:30 PM

0/0

I have a Master Page that has a Header wrapped in a <div> and I've assigned a background image to that <div>.

I'd like to cache that image to prevent it from refreshing when menu/nav items are clicked.  Can this be done via ASP.NET and code behind ? ASP.NET on it's on ?  Or do I have to use JavaScript ? 

 

Yani Dzhurov
Asp.Net User
Re: How to cache an image from a Master Page2/21/2007 7:21:33 PM

0/0

I would suggest you to define the div bakground image url in a css file.

Browsers cache these css files, and your image will be cached as well, i believe.

Also the html become smaller when using css.

Cheers,

Yani
 


Thanks,


Yani Dzhurov

vertical
Asp.Net User
Re: How to cache an image from a Master Page2/21/2007 7:47:10 PM

0/0

Hi Yani,

 Thanks, but I already have the this .master linked to an external CSS and that image url is defined in that CSS file.  But still refreshing.

Thouhts ?

 

Zhao Ji Ma - MS
Asp.Net User
Re: How to cache an image from a Master Page2/24/2007 9:27:20 AM

0/0

try this: Menu Control with populate on demand

http://forums.asp.net/thread/1431274.aspx


Zhao Ji Ma
Sincerely,
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Microsoft Office SharePoint Server 2007: The Complete Reference Authors: David Matthew Sterling, David Sterling, Pages: 788, Published: 2007
ASP.NET 2.0: A Developer's Notebook Authors: Wei Meng Lee, Pages: 326, Published: 2005
Expert ASP.NET 2.0 Advanced Application Design: Advanced Application Design Authors: Dominic Selly, Andrew Troelsen, Tom Barnaby, Pages: 459, Published: 2005
Beginning SharePoint 2007 Administration: Windows SharePoint Services 3.0 and Microsoft Office SharePoint Server 2007 Authors: Göran Husman, Pages: 578, Published: 2007
ASP.NET 2.0 MVP Hacks and Tips Authors: David Yack, Joe Mayo, Scott Hanselman, Fredrik Normén, Dan Wahlin, J. Ambrose Little, Jonathan Goodyear, Pages: 400, Published: 2006
Excavating The Medieval Image: Manuscripts, Artists, Audiences : Essays in Honor of Sandra Hindman Authors: David S. Areford, Nina Rowe, Sandra Hindman, Pages: 343, Published: 2004
1997 Hawaii International Conference on System Sciences: 1997 Authors: IEEE Computer Society, IEEE, IEEE Computer Society, Yale N. Patt, Hesham El-Rewini, Pages: 766, Published: 1997
Real World SharePoint 2007: Indispensable Experiences from 16 MOSS and WSS MVPs Authors: Robert Bogue, Adam Buenz, Scot Hillier, Andrew Connell, Stacy Draper, Luis Du Solier Grinda, Todd Klindt, Jason Medero, Dustin Miller, Shane Perran, Joris Poelmans, Heather Solomon, Nick Swan, Jan Tielens, Mike Walsh, Shane Young, Pages: 504, Published: 2007
Adobe Photoshop CS3 for Photographers: A Professional Image Editor's Guide to the Creative Use of Photoshop for the Macintosh and PC Authors: Martin Evening, Pages: 704, Published: 2007
ASP.NET 2.0: Your Visual Blueprint for Developing Web Applications Authors: Chris Love, Pages: 339, Published: 2007

Web:
Possible to cache MasterPage on the client? Possible to cache MasterPage on the client? microsoft.public.dotnet.framework. aspnet. Author. 21 Nov 2005 4:08 AM. Keith Patrick ...
ASP.NET Master Pages Overview For example, you might put an Image control on a master page and set its .... // xml document added to cache and set its cache dependency to file dependency ...
Fragment Cache w/Master Page - telerik Forum NET · Panelbar for ASP.NET Fragment Cache w/Master Page ... Here is a picture of what is looks like after fragment caching: Bad Rendering. ...
problem with master page and firefox would be no image in the cache which had the same name. I added this code to the page load event of the master page: ...
Use ZedGraph with a MasterPage - ZedGraphWiki A web page called 'MasterPage.master' which implements the MasterPage with a ... mode actually creates an image file and stores it in the cache directory. ...
Chris O'Brien's blog: Master pages/page layouts deployed as ... set the Url attribute of the module to "_catalogs/masterpage" - set the Name attribute of the image file "Preview Images/tp_one_col.png" ...
(No Cache!)Images are loading everytime I visit the page - ASP.NET ... ... from the cache. I'm using a MasterPage with all my pages. Any idea? ... If your pages hardly ever change why not use output caching? ...
DotNetSlackers: cache-control: no store to prevent page review Apr 7, 2006 ... If possible, add it to your master page or page template. ... Also, remember that browsers need to cache image files if you're using image ...
Bill Baer : Dynamic Application of Master Pages in Microsoft ... Jan 11, 2008 ... In the example the preview image for the master page is stored in a ... must be signed to support installation in the Global Assembly Cache. ...
master pages images not show up in child pages : c#.net, Asp.net ... the master page HTML is mashed into the childpage on runtime, to circumvent the problem where your image reference is say in a folder of the root directory ...

Videos:
Using ROSE to Mitigate Performance Trade-offs Google TechTalks April 03, 2006 Daniel Quinlan ROSE is a tool for building source-to-source transformation tools for the optimization of C and C++ ...
Philip Pocock 100 Days 100 Guests event (Day 63) Documenta X 1997 Philip Pocock speaking at Documenta X about hypercinema and the collabortative work produced in Uganda by Documenta X - A Description of the Equator ...
RickRoll'D RickRoll'd OMG OMG OMG OVER 10 MILLION RICKROLL'd! http://tinyurl.com/642wu3 Click for information on the origin of the rickroll, and other facts!




Search This Site:










msdn style document/article/content management

vs 2008

how to exclude xml documentation files from the publish process?

oracle version of dnn provider for 2.0.4

problems with using user control as navigation section

css backgrounds dont show in design mode

visual web developer 2005 express edition guided tour

restrict theme css to load on specific page

precompiled site whith dynamically loaded ascx possible?

asp.net 1.1 on vs 2005

customize createuserwizard

wrap treeview nodes to div

converting an html file to a webform - help?

dropdownlists &amp; databases

membership issues

version confusion

using a custom webpartzone how can you go to editmode for a newly added webpart

multiple portals

googling for getsecuritydescriptor in c# and i have found kb:899553, but i don't want to set permissions

antivirus

forms authentication question

selecting a role when creating a user using the createuserwizard component.

assembly version

error installing module

setting personalizationscope.shared from master page

how do i remove <%= skinpath %>

xml document must have a top level element ???

personaliztion tutorials

online help - point to my own online help

newbie:dependent dynamic drop down lists

 
All Times Are GMT