Hi Friends,
I have a GridView in which the row or the data is getting selected on the checkbox click.
I want to enable paging in the GridView such that when i go to next page then the previuos selection
remains as it is...means i can perform operations on current selection as well as previous selection.
Do anyone have any idea?

Thanks in advance,

I am nto able to do paging,since i m binding the GridVeiw manually
like gdview.datasource=some dataset
gdview.databind()

now the code in PageIndexChanging is

protected void gdview_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
gdview.PageIndex = e.NewPageIndex + 1;
gdview.DataBind();
}
now when i run teh app. and go to page 2 on GridVeiw it doesn't show the next record
and when i debug after placing the breakpoint at
protected void gdview_PageIndexChanging(object sender, GridViewPageEventArgs e)

it goes to some Deassembly tab
D:\AjaxControlToolkit\AjaxControlToolkit\ExtenderBase\ExtenderControlBase.cs
like this........

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.