Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
remove rewrite url in web.config and aspx page
Devendra Kumar
8y
378
1
Reply
how to remove rewrite url from web.config and aspx page
my code is:
<rewriter>
<rewrite url="~/Category-(.+)$" to="~/Category.aspx?name=$1"></rewrite>
</rewriter>
and in aspx page:
<div class="img" style="text-align: center; margin-top: -40px;"">
<a href='<%=ResolveUrl("~/")%>Category-<%# Eval("SeoCategory_Name")%>' style="font-size: 13px;">
<img style="object-fit: cover; height: 220px; width: 245px; margin-top:-5px;" src='Products/<%#Eval("cat_img") %>' />
</a>
<asp:HiddenField runat="server" ID="hdnId" Value='<%#Eval("Category_Id") %>'/>
</div>
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Single Page Application?
asp.net div element