perhaps you want those lines to be executed at runtime only. in that case,
try the onload eventhandler which tests for the control's designmode
property to distinguish runtime and designtime.
Onload:
if (this.DesignMode)
{
//your method calls
}

Signature
Joey Calisay
http://spaces.msn.com/members/joeycalisay/
> I created a user control, some of the controls that it contains make a remote
> call to get data. If the remote service is not up and running, the control
[quoted text clipped - 14 lines]
> Thanks,
> Don
Donald Hurley - 15 Mar 2005 17:29 GMT
Thanks, that worked.
> perhaps you want those lines to be executed at runtime only. in that case,
> try the onload eventhandler which tests for the control's designmode
[quoted text clipped - 26 lines]
> > Thanks,
> > Don