There is no built in way to do this that I know of. You could try the
load on a seperate thread and only wait 5 seconds for the second
thread to signal that the load completed - but this approach is
terribly complicated when you could just share the ASCX files on both
server.
--
Scott
http://www.OdeToCode.com/blogs/scott/
On Sun, 15 May 2005 05:41:20 -0700, Jean Rousseau via .NET 247
<> wrote:
>I have a Web Form (VB) who load 2 user controls (ASCX) at startup. Sometimes my user control doesn't want to open. They are on an other server.
>
>How can I put a timer who skip loading my controls if it takes too long (ex: more than 5 seconds) ?
>
>Regards.
>
>--------------------------------
>From: Jean Rousseau
>
>-----------------------
>Posted by a user from .NET 247 (http://www.dotnet247.com/)
>
><Id>kIjre6srwU2OKjsLHKTaKA==</Id>