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
Mohammed Rafi Khan
NA
349
34.5k
How to hide or remove query string in mvc
May 26 2016 1:28 AM
Dear all,
I new to mvc,actually i want to remove querystring in th url here is the code
the url is
http://localhost:15745/ControlPanal/Edit/6
but i need it like
http://localhost:15745/ControlPanal/Edit
on (view) edit link it is
@Html.ActionLink("Edit", "Edit", "ControlPanal", new { id = item.PortfolioId })
and the controller is
public ActionResult Edit(int id)
{
}
please help me out
Reply
Answers (
2
)
what is different between controller class and simple class
can i deploy my asp.net website to linux hosting server