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
21
Answers
Clicking radio button make control visible/hidden
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
vidhya
11y
8.1k
1
Reply
When radio button is selected, i need to make visible of the textbox for DisplayStart,DisplayClose. If i unselect it, it should be hidden.
<div>
@Html.RadioButtonFor(model => model.MakeTestAvailable, "ScheduleDisplayDate", false) ScheduleDisplayDate
</div>
<div class="grid-12-12">
@Html.LabelFor(m => m.DisplayStart)
@Html.TextBox("DisplayStart", (Model.DisplayStart), new { @class = "date" })
</div>
<div class="grid-12-12">
@Html.LabelFor(m => m.DisplayClose)
@Html.TextBox("DisplayClose", (Model.DisplayClose), new { @class = "date" })
</div>
Post
Reset
Cancel
Answers (
21
)
Next Recommended Forum
convert xy coordinates to lat/long
import excel to sql