Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Reference Datagrid Footer Control

Thread Tools

Reference Datagrid Footer Control

Posts: n/a
In a datagrid footer, how could I programmatically set a footer textbox
text? E.g.. the datagrid (dg1) will bind to a datareader based on a query.
If the query does not generate any results the datagrid will appear without
any data, just a footer containing a few textboxes for adding. One of those
textboxes (textbox1) I want to set the .text to "something". How can this
be accomplished?

Basically, in a separate sub I need to set the text property of a textbox in
a datagrid. Kind of like if you have a datagrid, button and textbox. You
click the button and auto set the text of textbox1 (which is in the datagrid
footer) to "something".

Thanks a lot.


Reply With Quote

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
Re: Reference Datagrid Footer Control Jay ASP .Net 0 01-31-2005 05:53 PM
findcontrol not getting reference to controls in datagrid footer ASP .Net Web Controls 0 01-17-2005 02:26 PM
ASP.NET User control in Datagrid Footer Chamindu R Munasinghe ASP .Net 5 01-10-2004 09:11 PM
remove a control from a datagrid footer Darren Spooner ASP .Net 1 10-15-2003 01:13 AM