I FINALLY GOT THIS TO WORK!!!!
It took nearly a week, and plenty of fist slamming screams, but this was what I came up with and it works!
I am using FTB v4 Beta 1 in a VB.Net 2.0 UpdatePanel
For my purpose, I had to move the "refresh_web" folder into another folder, but it seems to work either in the default location or a custom so long as you target it in the "scriptManager". In my case I am implimenting MasterPages, in my expample the code that makes this work is in the "ScriptManagerProxy".
This is a three part fix, but following these steps should work.
Open "prototype.js" and "ftb.js" in the root of "refresh_web". After the very last line, paste the following code:
if
( typeof(Sys) != "undefined" && typeof(Sys.Application) != "undefined" ){
Sys.Application.notifyScriptLoaded();
}
Second, copy and rename the "ftb.js" as "ftb-pro.js". This was my last step and took a while, but for whatever reason I did this on a whim and it worked. It seems that the component or support script is simply checking to see that it exists. If this causes issues down the road, oops... but for now, everything seems to work just fine (but don't get your hopes up, this do not unlock the Pro features, in fact it will cause a script error if you try).
Finally, every AJAX enabled page utilizes the ScriptManager or SMProxy. The JavaScript code is pasted to report back to this Manager. Here is my Code (remember I need to move the "refresh_web" folder):
<asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
<Scripts>
<asp:ScriptReference Path="~/Scripts/FTB_refresh_web/prototype.js" />
<asp:ScriptReference Path="~/Scripts/FTB_refresh_web/ftb.js" />
<asp:ScriptReference Path="~/Scripts/FTB_refresh_web/ftb-pro.js" />
</Scripts>
</asp:ScriptManagerProxy>
You can see that I am using virtual paths and have even renamed the "refresh_web" folder. Simply name all three in scripts and you should be fine.
go ahead and slam you FTB into your page. I don't remember what my final result was, but if this is still giving you a problem, add this to your FTB contol parameters:
<FTB:FreeTextBox id="MyFreeTextbox" width="600px" Height="400px" runat="Server" IsSafari2Enabled="True" IsToolbarVisible="True" SupportPath="~/Scripts/FTB_refresh_web/" PrototypePath="~/Scripts/FTB_refresh_web/prototype.js">
Not the Bolded tags.
Vwa La! Happy Texting!
(visit my site at www.the-sug.com)