How to know if a place holder is empty
Hello:
In a web form Iâm using a place holder, into it, which contains or not a web user control created ado with next code:
Example.Controls.C1lear();
Control control = this.Page.LoadControl("WebUserControl3.ascx");
Example.Controls.Add(control);
Where Example is my place holder.
Is there some way to ask if place holder contains a web user control or if itâs empty?
Iâll thank you your help.
A.L.
El Hombre que tiene Amigos ha de mostrarse Amigo
__________________
El Hombre que tiene Amigos ha de mostrarse Amigo
|