Hallo,

>
> if(e.Item.ItemType == ListItemType.Pager)
>                               {
>                                       e.Item.Cells[0].Text = "Seite: ";
>                               }
>
>

habe das mal probiert, als ich den Artikel f�rs
Erweitern vom DataGrid geschrieben hatte
(http://www.aspheute.com/artikel/20030909.htm):

guck Dir einfach den Code aus dem Artikel an und
setze in AddPaddingItems() folgendes dazu:

TableCell mypager1 = (TableCell)this.Controls[0].Controls[0].Controls[0];
Label mylabel1 = new Label();
mylabel1.Text = "Seite: ";
mypager1.Controls.AddAt(0,mylabel1);
TableCell mypager =
(TableCell)this.Controls[0].Controls[this.Controls[0].Controls.Count-1].Cont
rols[0];
Label mylabel = new Label();
mylabel.Text = "Seite: ";
mypager.Controls.AddAt(0,mylabel);

Gruss

Alex

_______________________________________________
Asp.net mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/asp.net

Antwort per Email an