NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: HeinBarkhuizen on June 09, 2015, 04:36:23 AM
-
Hi,
Any tips on the best way to pick embed points in a NetWebForm.
I have ticked the send Stage to debugview as on, but not sure i understand what i'm getting.
Can anyone please explain the priciple for me.
Hein Barkhuizen
-
If I understand you correctly you want to add code to an embed point in a NT Form.
The best option is to Select the field in the Form
Then select the Client-Side Tab
Then Check Send new Value to Server
Then Click Server Code
The embed point window will display and you can enter code where it displays "Add Server Code Here".
Cheers
Vinnie
-
Hi Hein,
If you have a specific bit of code to add then by all means ask and someone will tell you where that goes.
If you are asking generally, then the best way to identify embed points is by having a passing familiarity with the code that's being embedded. To get that I mostly use right-click / source when selecting embeds.
If you understand the Form and Browse to be "event handlers" then the "stage" makes more sense because that allows you to see all the times the procedure is called, and what event / stage it is in at that time.
But reading the generated code you can see how that stage in turn calls multiple specific routines.
cheers
Bruce