By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,854 Members | 833 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,854 IT Pros & Developers. It's quick & easy.

Gridview numeric paging, how to insert 'page:' before numbers?

P: n/a
I simply want to insert a word before the numerics for paging..
*If* i need to manage this true a template then how to keep the numeric
stuff?
I was only able to prepare buttons which do adding and subtracting, i want
the numerics.

?
Aug 9 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I could only come up with:

protected void GridView1_RowCreated(object sender, GridViewRowEventArgs
e)
{
if (e.Row.RowType == DataControlRowType.Pager)
{
TableCell tCell = new TableCell();
tCell.Text = "Pagina:";
tCell.Font.Bold = true;
e.Row.Cells.AddAt(0, tCell);
}
}

But this shifts the paging numbers to the next column.
Rather unwanted
"Edwin Knoppert" <ne**@hellobasic.comschreef in bericht
news:44**********************@text.nova.planet.nl. ..
>I simply want to insert a word before the numerics for paging..
*If* i need to manage this true a template then how to keep the numeric
stuff?
I was only able to prepare buttons which do adding and subtracting, i want
the numerics.

?


Aug 9 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.