I have several elements besides my web.sitemap file, which relies on querystring or session variables. I do not want these items to appear in my menu.
Is there a way to hide it from the menu, but still be in the Sitemap (to control access to the site).
thank
I used this article when I wanted to stop the appearance of node, I found this article wonderful:
http://runtingsproper.blogspot.com/2009/11/i-bet-you-didn-know-that-adding-custom.html
ASP.NET , , , /.
...
siteMapNode, "[hidden]". .cs , ...
protected void rmMenu_ItemDataBound(object sender, RadMenuEventArgs e) { if (e.Item.Text == "[hidden]") e.Item.Remove(); }
I believe that you are using the show = "false" attribute , for example:
<siteMapNode show="false" url="~/admin/submissionsaddedit.aspx" title="Add/Edit Submission" description="" roles="Administrator, Shortlister, Moderator"/>
Source: https://habr.com/ru/post/1746955/More articles:What is a blue dragon - coldfusionавтоматическое отображение таблиц базы данных через веб-службы - c#How to modify an XML file using Perl? - xmlShould we deploy the Webkit browser for our intranet applications? - internet-explorerHow can I exclude the test package from the source folder in the ant build file? - javaSelect text in text box - javascriptHighlight changes? - javascriptКак бы вы решили эту проблему рукопожатия теории графиков в python? - pythonLimit results with a compound, not counting the combined results? - sqlhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1746960/c-is-there-a-way-to-limit-access-to-certain-methods-to-certain-classes-without-exposing-other-private-members&usg=ALkJrhgOgnya26xYvWwy1ySwSJ6DzdxfAQAll Articles