Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
3
Answers
@Html.HiddenFor() always returns default 0 value?
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
shosho s
8y
467
1
Reply
I have a form which has a dropdownlist with Services.
I'm using the hiddenfor so that on page load the selected item from this dropdown Id, is sent to a post action in the controller.
But for some reason the value of this hiddenfor attribute is always 0.
what am i doing wrong please help.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
dropdown with checkboxes
gridview checkbox checked showing false