NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - RWeHavingFunYet?

Pages: [1]
2
When using a NetWebForm, I need to be able to insert an HTML snippet from an external file so that it appears below entry fields.

Note that I am using the Tab Wizard effect, so the HTML snippet will be different for each tab of the wizard.


I know that to insert the external file normally in a header or footer I would use this:

<!-- Net:f:FileName -->

But how do I insert it in this situation?


There is also one other related case (without trying to be too complex for this post).

In some instances, I am actually loading different snippets based on a session variable, so in reality I need to be able to insert a "token" ( like 'MyHTMLSnipTab1' ) after the fields instead of  <!-- Net:f:FileName --> so that I can "catch" that in the _SendFile embed point.  Then based on the token value I change the value of p_FileName so that it loads the correct snippet.

So how do I solve this?

ADDENDUM:

Actually in checking how I handle that in the header or footer, I see that I insert the "token" as the filename in the <!-- Net:f:FileName --> code.

So per the example above:  <!-- Net:f:MyHTMLSnipTab1 -->

Then I catch the token and replace it with the full path and filename to the externak snippet.

That said - all I need to know is how to insert the <!-- Net:f:MyHTMLSnipTab1 -->  after the other fields of the tab wizard.

Thanks!

Pages: [1]