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
43
7k
How to set pagination.
Apr 8 2021 9:31 AM
Hello everyone this is my code .How to set here pagination
<div class="row">
@foreach (var blogPost in Model.Items)
{
if (counter != 0 && counter % 3 == 0)
{
@:</div>
@:<div class="row">
}
<div class="col-md-4">
<div class="blog-teaser__image">
<a href="@blogPost.FullPath">
<img src="~/Images/businessman-concept-illustration_114360-1246.jpg" />
</a>
</div>
<div class="blog-teaser__text">
<h>@blogPost.Title</h>
</div>
<div class="blog-Description">
<p>@blogPost.ShortDescription</p>
@*<a href="@blogPost.FullPath" class="btn btn-default">Read post</a>*@
</div>
</div>counter++;
}
</div>
Reply
Answers (
3
)
How to type in Hindi on textbox in asp.net web or mvc application
Modal popup with html control to save data