Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

count selected gridview rows in javascript

    protected void Page_Load(object sender, EventArgs e)
    {
        var list = (new[] { new { ItemID = 1 }, new { ItemID = 2 }, new { ItemID = 3 }, new { ItemID = 4 }, new { ItemID = 5 }, new { ItemID = 6 }, new { ItemID = 7 }, new { ItemID = 8 } }).ToList();
        gvPurchaseOrderDetails.DataSource = list;
        gvPurchaseOrderDetails.DataBind();
    }
Source by forums.asp.net #
 
PREVIOUS NEXT
Tagged: #count #selected #gridview #rows #javascript
ADD COMMENT
Topic
Name
4+3 =