On Fri, 28 May 2004 17:36:43 -0700, "Steve C. Orr [MVP, MCSD]"
<St***@Orr.net> wrote:
The FindControl method might work well for you.
For example:
If IsNothing(FindControl("TextBox1")) Then 'control doesn't exist
Here's more info:
http://msdn.microsoft.com/library/de...ntroltopic.asp
Of course if you are controlling whether the control exists or not,
then you should be able to decide if it is there, right? Not bashing
or anything, and I have been known to use this type of code, but you
should know if a control exists or not since you "programatically"
created it or set it to not display, eh?