Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Reply
pagination of grid using javascript
Rp Singh
7 years ago
288
Reply
Hi,
my hander code is like
htmlToReturn.AppendLine(
"<tr><th><input type='checkbox'></th><th style='text-align:left'>Details</th></tr>"
);
foreach
(var Data
in
Detail.Values)
{
string
script = @
"$('#act_').on('click',function())"
;
htmlToReturn.AppendLine(
"<tr><td><input type='checkbox'id='act_'"
+count +
" onclick="
+script +
" ></td><td>"
+Details+
"</td></tr>"
);
count= count+1;
}
context.Response.Write(htmlToReturn.ToString());
My aspx code is -
<div id="tblGrid">
</div>
here i am showing data from grid as -
i need js script that will paginate the element after 3 elements.
thanks
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
referencing the dll
editable multiview example in asp.net