public int btnExternalUrl_onWebEvent(CSpWebEvent event)
        {
                
                load ("pgExternalUrl");
                return (PROCEED);
        }

create a page pgExternalUrl, select on_BeforeDisplayEvent and use the
following code:

public int this_onBeforeDisplayEvent(CSpDisplayEvent event)

{
        CSpHtml.write("<script>" + "top.location=" + "\""+
"http://www.yahoo.com + "\""  + "</script>");
          return(PROCEED_WITH_BUILTIN_HANDLING);

}

-----Original Message-----
From: Howarth, Dan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 08, 1999 4:57 PM
To: NetD Forum (E-mail)
Subject: [ND] How to Dynamically Set ExternalURL for a Button


I need to dynamically set the externalURL property for a Button and
am looking for some example 4.1.3 code on how to do this.   Does anyone
have an example on how to do this?  Any help is much appreciated.
Thanks.


PG&E Gas Transmission Texas and any other company referenced herein which
uses the PG&E name or logo are not the same company as Pacific Gas and
Electric Company, the California utility.  These companies are not regulated
by the California Public Utilities Commission, and customers do not have to
buy products from these companies in order to continue to receive quality
regulated services from the utility.
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to