NetTalk Central

Author Topic: Button with server side code  (Read 3952 times)

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Button with server side code
« on: March 12, 2015, 02:34:07 AM »
Ok. I give up. I serached with several different key words this forum and did not find solution. Is there some good person to share with me the sicret how to start server side procedure when user push the button. Just to do some code on server side and refresh same page where button is.

Thank you in advance,

Djole

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Re: Button with server side code
« Reply #1 on: March 13, 2015, 03:00:30 AM »
Hi Bruce,

we had conversation on last NetTalk user group meeting and you asked me to put here some more about problem we discussed.

I make simple B2B web program. It has few tasts.

1. Browse through catalog and select products in basket, see picture of product.
2. View past invoices and their payment status
3. View basket content and maintain it. Produce new purchase order from basket.
4. View already created purchase orders and see their status and if it not finished to make some changes.

Ad. 1
Task completed. It may look better but that is upon css (and me).
Ad 2. 3. and 4.
I build one single form with several subbrowse and subform. The original problem is linked to this form.
Task to produce new purchase order from basket content was assign to button which was on subform. It was never fired.
When I put button on main form button works ok.

Best regards,

Djole

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Button with server side code
« Reply #2 on: March 15, 2015, 10:37:57 PM »
can you post the app so I can try it here?

cheers
Bruce

JohanR

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • Email
Re: Button with server side code
« Reply #3 on: March 16, 2015, 09:01:07 PM »
Hi,

Is this a multi dll app?
If yes, then this could be your problem.
You have to compile the main exe if you add a button to a form that is in one of your dll's
This will not result in a compile error, but the button has to be generated into the nettalk code in the main exe to "register" the button.



Johan

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Re: Button with server side code
« Reply #4 on: March 16, 2015, 10:10:33 PM »
Hi Johan,

No multi dll.

Best regards,

Djole