CodeVerge.Net Beta


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

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 9/25/2006 9:39:06 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 21 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
mattdk
Asp.Net User
Pls help (urgent)... i'm really frustrated with the dynamic Custom Sitemap Provider...9/25/2006 9:39:06 PM

0/0

Hi Guys

i've read many threads but still cann't really find an optimized solution to the situation i have eventhough it sounds quite simple!

I need a dynamic sitemap that can

1) dynamic refresh when the user changes language/country

2) dynamic add child nodes when the leaf node is selected

A more concrete sample, i have STATIC part of the sitemap which i cache it in sitemap file per country and language:

Department --> By Product --> Category --> Sub Category (leaf node)

Then when the user clicks on Sub category, then it should DYNAMIC retrieve product nodes from DB and add them to the sitemap structure. So each time the sub category is changed the sitemap is need to be reloaded as well as everytime the user change the country and language.

What i have done is create a custom provider, and in BuildSiteMap() method i read a static sitemap file according to which country/language is selected.

Then within BuildSiteMap() i always check if a user has selected or changed a leaf node, then i call the DB to retrive products and add sitemap nodes to the sub category node.

The problem is when the tree is so large, there are too many calls to DB which i get pool size over limit exception, and i found out that the BuildSiteMap() is getting calls like a million times per request!

Moreover if i calls some methods like hasChildNodes, ChildNodes.count within provider then there happened infinite calls and i get stack overflow exception.

How can i....

- dynamiccally update sitemap node structure which probably happens almost for each request?

- the sitemapresolver cann't help me add the sitemap nodes there since the collection is only read-only

- it seems that my situation may not fit well to sitemap provider, maybe should I make a kind of dynamic XmlDataSource which i can keep it cache in memory per request?

- Any suggests to the solution would be really appreciated!!!!

I have a deadline in 2 days...really hope that you guys can help me!

 

Thanks a lot...

// matt

 

 

1 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
Pls help (urgent)... i'm really frustrated with the dynamic Custom ... Pls help (urgent)... i'm really frustrated with the dynamic Custom Sitemap Provider... Last post 09-25-2006 5:39 PM by mattdk. 0 replies. ...
WASALive ! Control - ASP.NET Forums I am not getting the values from the text boxes. Please help to fix this issue. ... Hello All, I am really frustrated , I am a begginer in ASP. ...
.NET ASP Page 127 - Bytes Site Map NET Httphandler and file names with ampersand = 404 Error. Please help. ... DataItem From Custom Templated Control within DataGrid Template ...
.NET VB Page 59 - Bytes Site Map MS Please help.. Urgent problem with ListBox or TabControl · Help with RunTime Form Issue .... HELP: Add A Custom Button To The Caption Bar Of Window Form ...
FAQ & Help | RogersMJ.com I’m really glad everyone is enjoying it. I just wish you would PLEASE READ PRIOR ...... Urgent Help! Please Please! - BlackBerryForums.com : Your Number One ...
What If They Are Mad As Hell And Not Going To Take It Anymore ... Jun 14, 2007 ... People who finally say “I’m mad as hell and I’m not going to take ... we should be mad enough. from the service provider's point of view ...
Checklist for judging and comparing template web store builder ... So, if you are going to start reviewing potential template providers, .... Please understand, I'm a student of many languages and would not dream of putting ...
25 Useful WYSIWYG Editors Reviewed | Developer's Toolbox ... I really like Coda!! It’s not a WYSIWYG, but that preview mode is great . ...... If you have the answer Im looking for please reply Urgently! Thank you. ...
Archive of Networking and Hardware - testmy.net resource / tool 22:Please Help with Linksys WRT54G ver.2 and Inspiron XPS Gen 2 ..... 01:Hia im new , i no what ur thinking now neebie :( But need help with router ...
Website Design, CSS and Search Engine Marketing: June 2007 » Web ... I know there are people who will be happy to help if it really proves to be too ... Given the informative and dynamic nature of Internet, Internet marketing ...




Search This Site:










masterpage/web form problem

theme for none flash and different lang version with cookie

submitting a form in a contentplaceholder from a javascript function on the master page?

treeview set selectedvalue

treeview styling

css in content pages

navigation tabs

nested master pages left centre and right. all different aspx pages.

self.focus() causing a minor problem

button on master page doesn't fire

set focus in an object with master pages and ajax control toolkit

referencing memu object on masterpage

master page property not propagating

access masterpage methods and properties from a user control

css not applied in any pages with a theme

inheritence of multiple master pages??

skinid error

master pages vs iframes

menu server control and ie whitespace

menu styles (gone after copying to server)

customizing the asp.net calendar

asp:menu items with images - skin code required please!

menu control "flyout"

is there anyway to set a menu item to selectable, but not clickable?

link to style sheet in a master page... how to render as a server control

theme creator tool

dynamic title for page from database

how to convert template to master page

bind database to tree view

skins with background images

  Privacy | Contact Us
All Times Are GMT