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: 12/10/2005 3:32:45 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 23 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
davernp
Asp.Net User
SiteMapNode url with two keys12/10/2005 3:32:45 PM

0/0

I want a series of site map nodes to have urls which contain a product code and a sub-product code. Something like

<siteMapNode url="Products.aspx?CatID=2&SubCatID=34" title="Pope Benedict books" description=""/>

However I get an error in the editor of the site map file: "Expecting ;" and the application will not build. No matter what I use to seperate the keys the Request.QueryString seems to contain everything after the = of CatID.

 How does one do this?

Thanks.

 

orzeh
Asp.Net User
Re: SiteMapNode url with two keys12/12/2005 9:39:06 AM

0/0

hello,

try this:
<siteMapNode url="~/Products.aspx?CatID=2&amp;SubCatID=34" title="Pope Benedict books" description=""/>

orzeh


code less, think more!
davernp
Asp.Net User
Re: SiteMapNode url with two keys12/12/2005 10:27:40 AM

0/0

Thanks that works!

Paul.

 

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


Free Download:

Books:
Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages Authors: Jacob J. Sanford, Pages: 474, Published: 2007

Web:
Adding QueryString Parameters to the SiteMapNode - Jason N ... AllKeys For i As Integer = 0 To keys.Length - 1 parts(i) = keys(i) .... < siteMapNode url="State/StateMapping.aspx" title="State Field Mapping" ...
DotNetSlackers: Adding QueryString Parameters to the SiteMapNode Jun 5, 2008 ... Url.ToString()) Dim tempNode As SiteMapNode = temp While Not tempNode Is Nothing Dim qs ... Count - 1) As String Dim keys() As String = col. ...
MSDN SharePoint - Development and Programming How to locate the ... So using the SiteMapNode.Key property to match up nodes from the two providers presented the problem that I would have to "normalize" they Keys returned ...
Globalization and Localization with sitemap XmlSiteMapProvider supports two types of localization expressions: implicit and ... After the resource keys are provided to SiteMapNode's constructor, ...
C# Shiznit - Custom SiteMapProvider Incorporates QueryString Reliance Count) and keys.Length functions to index length-1 and it no longer gives me an ... add icon in the site map - ASP.NET Forums Site Map Providers SiteMapNode properties such as Title, Url, ParentNode, and ChildNodes define the .... keys—explicit and implicit—and pass them to SiteMapNode's constructor, ...
CodeProject: Stop editing 'web.sitemap'--Let unknown pages ... ASP.NET 2.0 Site Navigation: Site Map Providers The StaticSiteMapProvider class stores its SiteMapNode objects in hash tables and ... Url property of the pages, represented by site map nodes, as keys. ...
John Luif - Working with the SiteMap in 2.0 public SiteMapNode AddNewNodeToCurrent(string key, string url, string title) ... Keys are much easier to manage than url’s when it comes to finding nodes. ...




Search This Site:










start point for my application.

goal: as dnn is for portals, nata1 is for search technologies

error in solpart fetching page via webrequest

refactoring (renaming class) not working

ibuyspy portal + access db source code

mysql query error.....

using session variable in dnn module ?

increasing security: non-reversible passwords and more

where is the web.config file for a fresh 3.1

hiding email addresses

using adam for roles 2.0

speed of web parts with ajax.net 1.0

change the portal email address

manually installing skin?

is it possible to make a transparent container skin?

question - need form where or can i do this in dnn

announcing: kreko login redirect for dnn3 (free)

session state in a moss webpart

wiring up solpart menu in c#

encrypt jpeg image...

strange configuration error.... please help....

can i change the name of .dll files?

formsauthentication.signout() does nothing

vwd 2005 where???

how can i update my listing within the control gallery

insert jsp code/file in a asp.net projekt?

postback counter in viewstate

converting website to wap

building as site for two languages - how to have two register pages in each langues?

styles in composite controls

 
All Times Are GMT