Ugly solution but works:
string s;
for (int i = 0 ; i < this.Controls.Count; i++)
{
if (this.Controls[i] is System.Web.UI.HtmlControls.HtmlForm)
{
s = this.Controls[i].ID;
break;
}
}
Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114
Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377
Know the overall picture
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!