Scott Allen has an article that should help you:
In Search Of ASP.Net Controls
http://odetocode.com/Articles/116.aspx
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
<> wrote in message
news: ups.com...
> I have a datagrid on a web page and need to find out if the first
> textbox in the footer has text when the user clicks an add button on
> the page(not the button inside the datagrid). I'm check the value in
> the footer to tell the user that he needs to click the add button in
> the datagrid before clicking the page add button.
>