Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
How to hide or remove query string in mvc
Aarif khan
May 26 2016 1:28 AM
1.6k
Reply
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
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
what is different between controller class and simple class
can i deploy my asp.net website to linux hosting server