Or just an empty page with the javascript to redirect to your external url.

You can also put the javascript after the [[SPIDERPAGE NAME=PgCustomPage]] and a 
static text for the url and dynamically change it in the nd method for the static text.


"Veludandi, Venkat" <[EMAIL PROTECTED]> wrote:
>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----->Sent: Wednesday, September 08, 1999 4:57 PM>>>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