Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to call same page twice with different url in Web.sitemap file?
    primarykey
    data
    text
    <p>I have a page that is being redirected from two different places. here is the sitemap code :-</p> <pre><code> &lt;siteMapNode url="~/ProductsIndex.aspx" title="Product Management" description="Products Details"&gt; &lt;siteMapNode url="~/AddNewProducts.aspx" title="Product Identification" description="Product Identification" /&gt; &lt;/siteMapNode&gt; &lt;siteMapNode url="~/StoreAdminIndex.aspx" title="Store Administration" description="Store Administration"&gt; &lt;siteMapNode url="~/AddNewProducts.aspx" title="Product Identification" description="Product Identification" /&gt; &lt;/siteMapNode&gt; </code></pre> <p>After searching on net I got following answer :- We need to add any query string.</p> <pre><code> &lt;siteMapNode url="~/StoreAdminIndex.aspx" title="Store Administration" description="Store Administration"&gt; &lt;siteMapNode url="~/AddNewProducts.aspx?S=1" title="Product Identification" description="Product Identification" /&gt; &lt;/siteMapNode&gt; </code></pre> <p>But When I am using this code and I am passing some other querystring value the correct sitemap is not showing. Eg. when I am redirecting to AddNewProducts.aspx page, It is like AddNewProducts.aspx?S=1&amp;SId=7913 (Here we have one more query string SId).</p> <p>And I don't want to use Session object to hold the SId.</p> <p>Any Idea? how to solve this issue?</p> <p>[Edit] Here is the code : When I am using following code :- </p> <pre><code>Response.Redirect("~/AddNewProducts.aspx?S=1", false); </code></pre> <p>It's working fine. but when I am using following code : </p> <pre><code>Response.Redirect("~/AddNewProducts.aspx?S=1&amp;SId=" + hdnStoreId.Value.ToString(), false); </code></pre> <p>It's not working.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload