NetTalk Central

Author Topic: Browse, button, server side code  (Read 2507 times)

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Browse, button, server side code
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Browse, button, server side code
« Reply #1 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
« Last Edit: July 23, 2012, 05:10:51 AM by Bruce »