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/7/2007 10:00:14 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 38 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
Twindruff
Asp.Net User
Custom SiteMapProvider and update of the Menu associated2/7/2007 10:00:14 AM

0/0

Hello, I've got a question to ask you Embarrassed,

I've got a MasterPage like the one describe in this tutorial. I also have got a SiteMap that must be built from static data (from the SiteMap XML file) and from data coming from a database. To this purpose I've decided to write a class which herits from the class XmlSiteMapProvider.

Due to some actions made by the user the database content may change, and in this case data displayed in the menu (in the frame on the left) have to change too. However even when I force my provider to rebuild the SiteMap, information displayed by the menu isn't updated (unless I close and reopen the browser).

I explain more in detail what I've done in my provider, I've overloaded the BuildSiteMap function this way, at the begining I call the base function and then I add my nodes (loaded from database) in the root node and then I return the root. After each database modification, I force the provider to rebuild the sitemap.

I don't know where this problem come from? (maybe from the SiteMapDataSource or the Menu).

Thanks in advance Stick out tongue

Twindruff
Asp.Net User
Re: Custom SiteMapProvider and update of the Menu associated2/7/2007 12:35:30 PM

0/0

I've solved my problem, in fact instead of calling Menu.DataBind, I called?SiteMapDataSource.DataBind.
Schmakt
Asp.Net User
Re: Custom SiteMapProvider and update of the Menu associated2/23/2008 12:13:05 AM

0/0

I've been looking all over for a solution to this as well... this fixed me right up...

xmlDataSource.DataBind();

Thanks!

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


Free Download:


Web:
CodeProject: SharePoint Custom Site Navigation. Free source code ... May 12, 2008 ... SharePoint 2007 comes with web content management features and its own custom SiteMapProvider . Out of the box, any sites and sub-sites ...
bungie.net site Resources | TechRepublic These controls work with a site map provider to derive the tree, menu, ... NET 2.0 and introduces the controls and data structures associated with site ...
Stefan Goßner : ASP.NET 2.0 and MCMS - The easy way to site navigation A custom SiteMapProvider has to implement at least the following methods: .... To use the Menu and the TreeView control with our SiteMapProvider you first ...
Grendel's sorry excuse for a blog: March 2007 It is bound to a custom site map provider and accessed via a SiteMapDataSource control defined in the associated master page file. ...
ASP.NET Atricles Deitel & Associates, Inc. s .... Use module action menu to edit content .... Discusses the job of a custom site map provider, building a file system-based ...
Bite The Wax Tadpole The Main Menu is composed of SiteMapNodeInfo nodes that are consumed by a custom SiteMapProvider derived from StaticSiteMapProvider and eventually fed to a ...
Custom Buttons in the DataList and Repeater : The Official ... To associate custom server-side action with a button being clicked, create an event handler for the ... Building a Custom Database-Driven Site Map Provider ...
CodeProject: Navigation Custom Control for Microsoft Office ... SiteMapProvider - A site map provider of type PortalSiteMapProvider . ... This article, along with any associated source code and files, is licensed under ...
Steve C. Orr - Streamline Web Site Maintenance with Site Maps and ... When combined with a SiteMap provider, the productivity gains become nearly .... to contain any extra custom data you’d like to be associated with pages. ...
Josh Gough : Placeholders for string.Format() in URLs in an ... Jun 20, 2006 ... Imagine that Popup Actions Menu is an instance of asp:Menu and is bound ... in the sitemap provider. Update: Quick Start Info Addresses This ...




Search This Site:










"action canceled" error after formsauthentication.redirectfromloginpage(..., ..., ...);

no records found

ok you said i could ask anything

how do i publish my portal into local intranet or local workgroup

dnn 3.0.13: other asp.net application issues

drop down list with time zone offset.

migrating custom user data to dnn3

how to set permissions on certain sql data

how to programatically retrieve user's userid?

returning function values back through classes

writing my own modules

creating eventhandlers

im having a problem in loginview tool

table and hyperlink

error message with friendly message

login failed for user

find all div ids on a master page

how to create a group of users in windows 2000 active directory

flash in skin

task list for dnn 3.x available ?

the stored procedure 'dbo.adddesktopmodule' doesn't exist.

string resource handling options

closing pop-up windows opened from contentplaceholder

export to excel

custom principal, identity vs custom membershipprovider, membershipuser

showmodaldialog refreshes page on close

embedded resources property

1 event handler multiple controls

updating the text value of a web control.

converting name to id

 
All Times Are GMT