Hi,
via Page property of your control (which it has by default) you can access
the top-level Page object from which you can search child controls with
FindControl method.
--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke
"SOS" <SO*@hotmail.com> wrote in message
news:O1*************@TK2MSFTNGP11.phx.gbl...
Hi guys ,
i create a custom control and place it on a web form,
how can i access to this web form from my custom control ?
for example i want to add a button to this webform by writing code in my
custom control.
Thanx :)