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
Ekrem Tapan
NA
967
81.2k
passing value razor to controller
Dec 29 2016 1:04 AM
<a href=
"@Url.Action("
NEWS_DETAILS
", "
Home
", new { title=item.NEWS_TITLE })"
>
@Html.Hidden(
"NewsID"
, item.NEWS_ID)
<img
class
=
"thumb"
src=
"@item.SHOW_IMAGE"
alt=
""
>
<span
class
=
"date"
>@item.NEWS_STARTDATE</span>
<h2>@Html.Raw(@title)</h2>
@Html.Markdown(@content +
"...."
)
</a>
hi everyone,
how can i passing razor to controller hidden value ? -->>
@Html.Hidden(
"NewsID"
, item.NEWS_ID)
Reply
Answers (
8
)
bootstrap datepicker not working after postback
ASP.net c# Avoid open the same window twice