Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > datagrid footer

Reply
Thread Tools

datagrid footer

 
 
powerranger
Guest
Posts: n/a
 
      09-12-2003
I'd like to know how to add a text box in the datagrid footer at runtime. Thanks.
 
Reply With Quote
 
 
 
 
Prasad
Guest
Posts: n/a
 
      09-13-2003
In the ItemCreated Event you can do it like this :

if(e.Item.ItemType == ListItemType.Footer)
{
e.Item.Cell[0].Controls.Add(new TextBox())
}

HTH
Prasad

"powerranger" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> I'd like to know how to add a text box in the datagrid footer at runtime.

Thanks.


 
Reply With Quote
 
 
 
 
Saravana
Guest
Posts: n/a
 
      09-13-2003
Check out this article,
http://www.extremeexperts.com/Net/Ar...stoFooter.aspx

--
Saravana
Microsoft India Community Star,MC**
www.extremeexperts.com



"powerranger" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> I'd like to know how to add a text box in the datagrid footer at runtime.

Thanks.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any way to reorder how a datagrid is drawn (header/footer/items vs.header/items/footer)? Henrik ASP .Net Datagrid Control 1 07-06-2006 12:23 AM
DataGrid Footer - DropDownBox Jim Heavey ASP .Net 1 11-18-2003 06:16 AM
Datagrid FindControl in Footer Dave ASP .Net 2 11-14-2003 04:11 PM
remove a control from a datagrid footer Darren Spooner ASP .Net 1 10-15-2003 01:13 AM
DataGrid: how to have a footer row dynamically sum data Roger Moore ASP .Net 0 07-07-2003 05:27 PM



Advertisments