开发者

Changing the sitemap node title

开发者 https://www.devze.com 2023-03-19 09:16 出处:网络
I have a \"one for all\" \'ProductsList.aspx\' which loads all different types of products based on the \'CategoryId\' querystring send to it, hence if a user clicks \'Basketball\' link, I need the si

I have a "one for all" 'ProductsList.aspx' which loads all different types of products based on the 'CategoryId' querystring send to it, hence if a user clicks 'Basketball' link, I need the sitemap title in the 'ProductList.aspx' to write 'Basketball'.

I tried

 SiteMap.CurrentNode.ReadOnly = false;
 SiteMap.CurrentNode.Title = "Basketball";

in the page_load of 'ProductList.aspx' but apparently it doesn't work. 开发者_JS百科Any advice? Thanks.


Check the following url,

http://forums.asp.net/t/1590425.aspx

Hope this helps....

0

精彩评论

暂无评论...
验证码 换一张
取 消