CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 2/3/2007 12:19:03 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 39 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
rjicha
Asp.Net User
Reload SiteMap2/3/2007 12:19:03 PM

0/0

Hi,

I have my own SqlSiteMap provider (derived from StaticSiteMapProvider) which adds some functionality not included in buil-it base provider (eg. adding pages). What I need is to reload sitemap when a page was added or deleted without using SqlCacheDependency.... Is there a simple way?

 For calling AddPage or DeletePage I use SiteMapService of my own....

 Thanks in advance..


rjicha
programmer + caffeine + taurine = new application
albertpascual
Asp.Net User
Re: Reload SiteMap2/3/2007 8:34:22 PM

0/0

I believe that the sitemap gets reloaded every single time the time of the file changes. Is not that what you see?
Cheers
Al

My Blog
Please click on 'Mark as Answer' if this post answered your question!
rjicha
Asp.Net User
Re: Reload SiteMap2/3/2007 8:54:34 PM

0/0

Not exactly...sitemap reloads only after restart of the application (rebuild, web.config change and so on) - behavior of lifetime of static types. I need to kill (or reload) existing static sitemap, which is used by SitemapDataSource...

R.


rjicha
programmer + caffeine + taurine = new application
rjicha
Asp.Net User
Re: Reload SiteMap2/3/2007 9:36:49 PM

0/0

I think I'm getting close..

1    lock (_lock)
2    {
3      SqlSiteMapProvider prov = (Dmx.Providers.SqlSiteMapProvider)SiteMap.Provider;
4                    
5      prov.Clear();
6      prov._root = null;
7    }
 

This code performs sitemap clearing...


rjicha
programmer + caffeine + taurine = new application
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Cocoon: Building XML Applications Authors: Matthew Langham, Carsten Ziegeler, Pages: 504, Published: 2003
Cocoon 2 Programming: Web Publishing with XML and Java Authors: William B. Brogden, Conrad D'Cruz, Mark Gaither, Pages: 362, Published: 2002
Cocoon Developer's Handbook: Developer's Handbook Authors: Lajos Moczar, Jeremy Aston, Sue Spielman, Pages: 816, Published: 2003
Professional XML Development with Apache Tools: Xerces, Xalan, FOP, Cocoon, Axis, Xindice Authors: Theodore W. Leung, Pages: 519, Published: 2003
Pro C# 2008 and the .NET 3.5 Platform Authors: Andrew Troelsen, Pages: 1370, Published: 2007
Frameworks and Components: What They are and how to Use Them for Java Web Application Development Authors: Michael Nash, Pages: 0, Published: 2002
Pro Apache XML Authors: Poornachandra Sarang, Pages: 479, Published: 2006
Web Wisdom: How to Evaluate and Create Information Quality on the Web Authors: Janet E. Alexander, Marsha Ann Tate, Pages: 156, Published: 1999
XSLT 2.0 Web Development Authors: Dmitry Kirsanov, Pages: 406, Published: 2004
Expert C# 2005 Business Objects Authors: Rockford Lhotka, Pages: 668, Published: 2006

Web:
Reload SiteMap - ASP.NET Forums What I need is to reload sitemap when a page was added or deleted without using SqlCacheDependency.... Is there a simple way? ...
Reload sitemap data - ASP.NET Forums Are you using (Wicked Code)The SQL Site Map Provider. It does support automatic reloading of the site map following a change to the site map ...
Sitemap FAQs The check-reload attribute determines if the sitemap is reloaded on change. Set to "no", the sitemap is generated once at startup. Set to "yes", the sitemap ...
Sitemap | Children's Book Illustrators - nocloo.com | Reload SitemapMain Menu Home Illustrators Biographies Illustrators Checklist FAQ General questions Copyright Issues Web Links Archive Dorothy P.
New ASP.NET 2.0 SQL Site Map Provider - ScottGu's Blog No matter what I do I can not reload the site map. Did you find out any information from your team that could help with this situation? Thanks, ...
'cvs commit: xml-cocoon/src/org/apache/cocoon/sitemap Manager.java ... sitemapFileName); getLogger().debug("Checking sitemap reload = " + this. checkSitemapReload); getLogger().debug("Reloading sitemap asynchron = " + \ this . ...
How to reload a treeview control : nodes, sitemap, have I'm having a small problem with the following code(I don't think its as bad as it looks). It loads my treeview control fine but when I refresh the page it ...
Cocoon 2.2 Without Tears Aug 1, 2008 ... org.apache.cocoon.reloading=true org.apache.cocoon.reloading.sitemap=true org. apache.cocoon.reload-delay.sitemap=5000 ...
SMS Reload - Project details - Emakina Reload a BASE prepaid card with a simple SMS. A customer needs to register his mobile for SMS reload and link up-front with his ... Site map; Tag cloud ...
GameSpot.com Site Map > Game Forums > Action > Fighting > 2D ... GameSpot.com Site Map > Game Forums > Action > Fighting > 2D > Letter G > Guilty Gear X2 #Reload Topics. Topics. Before u ask questions u may want to read ...

Videos:
Wordpress Theme on Steroids Wordpress is an easy to use blogging tool. Unfortunately, the base configuration and themes bundled with the software are less than desirable. Now, S...
Affiliate Summit 2006 East -- Blogging Best Practices: Maximizing Your Success Blogging guru Dave Taylor will take you on a controversial and entertaining tour of blog technologies, explain which are considered "critical" by the...




Search This Site:










multiple codebehind files of master/aspx/ascx-files inherit from custom base-class

navigation features

specify which sitemap to take for the sitemappath

treeview xhtml transitional validation error

eword popupcalendar control error with master pages

masterpage

inheriting master pages to aspx pages. widbey

accessing dyanmic data on masterpage from content page

problem with "go back" link

creating site map

encryp & decrypt querystring

dynamic theme controlled by admin only?

custom menus - can they be cached ?

web.sitemap help!!!???

how do i edit my menu navigation

still using asp.net 1.1 need help!!

menu control refresh problem!

asp.net 2.0 treeview - nullpointerexc. whilst rendercontrol within http-handler

not display root node in sitemappath

how to hide child nodes in menu contraller

controls inside contentplaceholder have id's modified

change regular page to content page

themed background image on <td>

dynamic control vs. skin file: they can't seem to coexist!

multiple stiemaps with multiple master pages

treeview - hide node based on security roles with querystring urls

web application and master pages

how not to submit the masterpage section

events of usercontrol

help me(masterpage) error

  Privacy | Contact Us
All Times Are GMT