A style that will make the entire cell "clickable" in a Menu

Here’s a quick tip for the Menu control.  I’m pretty sure there were some good reasons why this wasn’t the default but I just can’t think of them at the moment. [EDIT: I just remembered one of them, this won’t work perfectly with ItemSpacing…] If you want to make the entire cell clickable (and not just the…

4

Making the sample XmlSiteMapProvider updatable with Cache dependencies.

One feature that isn’t availible in the source for the XmlSiteMapProvider we released is the ability to update when the web.sitemap file has been updated.  The reason we couldn’t provide this is that the mechanism we use inside XmlSiteMapProvider relies on some internal methods which map down to native calls.  Now, this can easily be…

0

Web Application Projects RC1 is availible!!!!

For the past few months, I’ve been primarily working on a new feature called Web Application Projects.  This was incredibly challenging and took way more of my time than I realized it would but it also quite exciting to work on.  So, I’m incredibly happy to finally announce that it is availible for download on msdn.  Web Application Projects…

0

A brief history of MasterPages and templating web content (aka MasterPages are NOT frames)

One question I see constantly on the forums is:  How do I get a Masterpage to load Content1 from one page but Content2 from another page or How do I get Content2 to reload when I click a button in Content1 without reloading the entire page.  The root of the question is often a misunderstanding of the…

2

An overview of how securityTrimmingEnabled is supposed to work.

I think that the #1 most confusing or misunderstood portion of Site Navigation is the securityTrimmingEnabled flag and the roles attribute on siteMapNodes.  This post wil hopefuly clear up some of the confusion. SecurityTrimmingEnabled Firstly, let me be explicit about this: out of the box, securityTrimmingEnabled is meant to be a security feature. By secure, let me use the…

18

SiteMapProvider and spaces in querystrings

A user found an interesting issue in the SiteMapProvider code.  It seems that if you have a node that has a url such as: “~/home.aspx?p=some text”  (notice the space in the query string) and you are actually navigated to that url, SiteMap.CurrentNode doesn’t actually return the correct node.  The reason for this is that the…

2