<pre> iam use routing asp.net this my real link is http://www.myweb.com/redownload/test.aspx i want this link http://www.myweb.com/redownload/120/title.docx but click on link see this error HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. The question is: Do I need a special configuration is IIS OR with routing sloved this problem
<asp:HyperLink ID="Fsyllab" NavigateUrl='<%# `String.Format(Eval("FCourseID","~/ReDownload/{0}/" + Eval("FCourseName") + `".doc" ))%>' target="_blank" runat="server" Width="20px" Height="10px" ImageUrl="/Images/main/download.png" CommandArgument='<%# `Eval("FCourseID") %>' Font-Underline="false" Text='<%# `Eval("FCourseDuration").ToString() %>' />
routes.MapPageRoute( "products1-browse1", "ReDownload/{id}/{name}", "~/ReDownload.aspx",true);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)