NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Djordje Radovanovic on July 23, 2012, 03:25:45 AM

Title: Browse, button, server side code
Post by: Djordje Radovanovic on July 23, 2012, 03:25:45 AM
I put in a browse button. Button type is other. I defined server side code and it was generated in routine "Validate:Other30". I also defined URL to be called. URL act as I expect but server side code is never triggered.

I expect first to run Server Side Code and than to call  URL. Is it possible?

Where did I go wrong?

Best regards,

Djordje Radovanovic
Title: Re: Browse, button, server side code
Post by: Bruce on July 23, 2012, 05:08:11 AM
>> I expect first to run Server Side Code and than to call  URL. Is it possible?

no. It can do either the server side code, or go to the URL.
If you want to do some serveer side code, then redirect it to a new URL, then add a call to p_web.WindowOpen to your server side code.
eg
p_web.Script(p_web.WindowOpen('browseReports'))

cheers
Bruce