Web Wiz
Home
Home
Hosting Services
Hosting Services
Knowledgebase
Knowledgebase
Community and Support Forums
Support Forums
Customer Login
Customer Login

  New Posts New Posts RSS Feed - Including WW RTE from inside script
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Web Wiz Web Hosting 30 Day Free Trial

Windows Hosting 30 Day Free Trial, with no obligation, on all our Windows Web and Reseller Hosting Packages.

For moreĀ informationĀ see our Windows Hosting 30 Day Free Trial page.

Including WW RTE from inside script

 Post Reply Post Reply Page  <12
Author
hakonf View Drop Down
Newbie
Newbie


Joined: 18 October 2009
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote hakonf Quote  Post ReplyReply Direct Link To This Post Posted: 20 October 2009 at 3:42pm
Shorthands appreciated; I may be confusing the issue. The position where I want to #include is in the middle of a Subroutine which is defined in a file, let us call the file i.asp. Th file i.asp has a structure like this:
 
<script runat=Server>
Sub xxx
...
</script>
<-- #include file=... -->
<script>
...
End Sub
Sub xyz
...
End Sub
</script>
 
If I insert the two tags in red, I cannot create the necessary connection between the upper and lower parts of the code, except perhaps by splitting the Sub in two and arranging for some sort of transfer of parameters between them.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Poole, England
Status: Offline
Points: 8042
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 20 October 2009 at 3:54pm
All I can say is to try rewriting your code not to use the sub and use some other method instead.
Back to Top
kimboy View Drop Down
Newbie
Newbie


Joined: 15 July 2011
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote kimboy Quote  Post ReplyReply Direct Link To This Post Posted: 15 July 2011 at 10:16am
Thanks very much indeed, that was very useful. This command puts the menu in the right position, without error messages.
 
The effect is limited: Some buttons open dialog boxes, but drop-down lists do not drop down, and I cannot achieve any formatting effects in the textarea box. Furthermore, the format of the tools is a bit off: buttons are taller that the toolbar on which they reside; hence four rows of buttons need five bars. If there are obvious reasons for this I would be glad to learn about them; if not, I will engage in some more debugging before returning to the group for some more advice.
Back to Top
 Post Reply Post Reply Page  <12
  Share Topic   

Forum Jump Forum Permissions View Drop Down



Become a Fan on Facebook Follow us on Twitter Web Wiz on Google+ Community Forums Web Wiz Blogs Web Wiz News
Company Information | Contact Web Wiz | Terms & Conditions | Privacy Policy

Prices exclude VAT unless otherwise stated - $, € prices shown as a guideline only
Web Wiz Ltd, Unit 10E Dawkins Road Ind. Est, Poole, Dorset, UK, BH15 4JD
Copyright ©2001-2012 Web Wiz - All rights reserved