Feeds:
Posts
Comments

Archive for October, 2009

Grid Pagging

<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(); }

Read Full Post »

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 [...]

Read Full Post »

Follow

Get every new post delivered to your Inbox.