I'm trying to rewrite the URL in my project and it works fine
Ex. the original URL is http://localhost:50260/u_SaleCom/Product.aspx?Status=Create and I rewrite it to http://localhost:50260/u_SaleCom/Product/Create by using code in web.config
<system.webServer>
<rewrite>
<rules>
<rule name="rewrite to u_SaleCom Product pages 1 QueryString" stopProcessing="true">
<match url="^u_SaleCom/Product/([a-zA-Z0-9=]+)" />
<action type="Rewrite" url="u_SaleCom/Product.aspx?Status={R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
so until now everything works fine, but when page postback by clicking any button or using AutoPostBack in DropDownList the page URL will change to http://localhost:50260/u_SaleCom/Product/Create?Status=Create and that happens only if the URL is rewritten.
I try to search on the internet for a solution and I didn't find the right one.
I found here some questions with the same issue but also it's not helping me