- 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