How to add the 2nd querystring in web.sitemap

  • Thread starter Thread starter ad
  • Start date Start date
A

ad

I need add two querysting in a node in web.sitemap:

<siteMapNode url="~/LocalReport/RViewer.aspx?sKind=Acc_List"&MyYears=2006
title="WebReport" description="" roles="" />

But the compiler said that I can't use & in the siteMapNode.

How can I add the 2nd querystring in web.sitemap?
 
You can use &amp; instead of & and you should be fine as :
<siteMapNode
url="~/LocalReport/RViewer.aspx?sKind=Acc_List&amp;MyYears=2006">
title="WebReport" description="" roles="" />

HTH

--
Swanand Mokashi
Microsoft Certified Solution Developer (.NET) - Early Achiever
Microsoft Certified Application Developer (.NET)

http://www.dotnetgenerics.com/
DotNetGenerics.com -- anything and everything about Microsoft .NET
technology ...

http://www.swanandmokashi.com/
http://www.swanandmokashi.com/HomePage/WebServices/
Home of the Stock Quotes, Quote of the day and Horoscope web services
 
Back
Top