Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
anchor tag repeating controller name asp.net MVC 4
shoab shah
Jan 19 2013 12:26 PM
2.8k
Reply
Hi All,
i have following of markup
<a href="controllerName/
[email protected]
[i].Pid">Know more</a>
in one of cshtml.
I redirect user to this page using following javascript
<input type="button" id="btnGoTo" value="ButtonCaption" onclick="window.location.href = '../Product/Index';" />
the problem is when user is redirected to the cshtml page the redirection is happening as;
controllerName/controllerName/ActionMethodName...
Kindly help
thanks in advance
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How to add dynamic rows in a table
How can add JQuery Function In TreeView Child Nodes