TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sourabh Choubey
NA
236
44k
how to remove special character(-) from the url if the last
Sep 3 2016 3:47 AM
how to remove special character(-) from the url if the last character is
- in url..
here is my one line code
<a href="@Url.RouteUrl("AbacusPage", new { catname = HttpUtility.UrlEncode(childitem.ChildName.Replace(' ', '-'))})" id="@childitem.ChildName.Replace(' ', '-').ToLower()">@childitem.ChildName</a>
here i replace the empty space with - but how to remove the last element i.e
-
Reply
Answers (
1
)
Is there is any admin panel template for Asp.net?
IIS hangs and start after re-start