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
Sachin Rajak
NA
10
713
How to change Paging (Pagination) color dynamically on MVC 5
Oct 13 2018 12:08 PM
MVC#I have created a quiz application using Paging (Pagination). In each page one question is shown. I want to make it so that when the user selects an option and clicks the save next button, the current paging number color will change to green, and if the user does not select any option, then the paging number color is white.
@for (int i = 0; i < Model.Option.Count; i++)
{
@Html.Raw(Model.Option[i].Label.Replace("[", "<").Replace("]", ">"))
}
page bar code:
@for (int i = 0; i < Model.TotalQuestionInSet; i++)
{
@(i + 1)
}
Reply
Answers (
1
)
How to develop project in c# and asp.net MVC entity frame &
Just publish modified controllers, models and some parts