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
Guest User
Tech Writer
2.1k
472.9k
How to create a new line using bootstrap in asp.net mvc checkboxFor?
Jul 1 2020 6:26 AM
Hi Team
I have create a new checkboxFor, the problem i cant create a new line using bootstrap class. To allow align of the new class. They seem scewed and have this below logic on my Razor in chtml.
// View
<div
class
=
"form-group row"
>
<label
for
=
"Dietary requirement"
class
=
"col-sm-2 col-form-label"
>Dietary requirements</label>
<div
class
=
"col-sm-2"
>
@Html.CheckBoxFor(model => model.DietMain.None)<label
for
=
"None"
>None</label>
</div>
<div
class
=
"form-group row"
>
@Html.CheckBoxFor(model => model.DietMain.Vegetarian,
new
{ @
class
=
"col-sm-2"
})
<br/>
<label
for
=
"Vegetarian"
>Vegetarian</label>
</div>
</div>
Reply
Answers (
1
)
Exception from HRESULT :0x89710016
Too many redirects error in GoDaddy server