Hi frnds,

i am using paging in data display.
but, it allows me to select only one way to go the next/prev page...i can select either numeric paging or the prev-next links.

what do i do if i want to use both at the same time ???

it shld look like below
< prev 1 2 3... next >

doesn't come with that built in. To get you started, you are going to need to do something like:

private void DataGrid1_ItemCreated(object sender, DataGridItemEventArgs e) {
			if ( e.Item.ItemType == ListItemType.Pager && DataGrid1.CurrentPageIndex > 0) {
	

				
						LinkButton lbTemp = new LinkButton();
						lbTemp.Text = "<";
						lbTemp.Click +=new EventHandler(lbTemp_Click);
						e.Item.Controls[0].Controls.AddAt(0,lbTemp);
					
				
			}
		}
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.