<asp:GridView ID=”grdFeedback” runat=”server” AutoGenerateColumns=”False” AllowPaging=”True” OnPageIndexChanging=”grdFeedback_PageIndexChanging”> <Columns> </Columns> </asp:GridView> <asp:GridView ID=”grdFeedback” runat=”server” AutoGenerateColumns=”False” AllowPaging=”True” OnPageIndexChanging=”grdFeedback_PageIndexChanging”> <Columns> . . . </Columns> </asp:GridView> protected void grdFeedback_PageIndexChanging(object sender, GridViewPageEventArgs e) { grdFeedback.PageIndex = e.NewPageIndex; BindData(); }
Archive for October, 2009
Grid Pagging
Posted in Grid on October 26, 2009 | Leave a Comment »
Grid Header Check box with check all function
Posted in Grid on October 23, 2009 | Leave a Comment »
In ASP.Net web pages, Grid View Delete row functionality is a very common feature of modern websites, here is the script for the confirmation to delete record without post back using “Page.ClientScript.RegisterStartupScript” feature. Bind grid on page load with Check() function. Call Check() function whenever you binding data to grid. Where “grdName” name of grid and “chkSelect” name of [...]