Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 464
  • Last Modified:

Freetextbox 3.0 performance issues

Hello experts, i am creating webpages using asp.net with visual studio.  I recently came across Freetextbox 3.0 and i ran into some performance issues.  Everytime the page refreshes, do to a button click or checkbox, all the controls have to reload on the freetextbox, which really cuts down in performance time.  I tried adding the controls on clientside and serverside with the same results.  Turning smartnavigation on wont work.  I was wondering if anyone else has tried this control and can help me.  It seems like the upgrade to 3.0 has more bugs then the previous version.
0
tentavarious
Asked:
tentavarious
  • 9
  • 7
1 Solution
 
raterusCommented:
There really isn't much you can do, other than find a different textbox control (FCKeditor and HTMLarea) come to mind, though they may not be much better.  Or you can put the textbox in a different frame, and put the other controls in another frame.  The other page without the textbox can refresh all day, but the textbox will still stay up.
0
 
tentavariousAuthor Commented:
I thought about using frames, put i have a list box that when an item is selected the freetextbox gets filled with the data.  For example the list box contains message subjects from an Access database and when one of the subjects is selected the, message tied to the subject, gets sent to the freetexbox.  All my controls, on the page are asp.net controls, because they are easier to work with, but if i could place the listbox on a different frame that would help out a lot.  So how can i communicate between the two?  Also i have a checkbox list that cause a lot of screen flicker.  I tried SmartNavigation but that doesnt work.
0
 
raterusCommented:
I've never worked with the FreeTextBox, but I'm sure there must be a way to access the current value using javascript.  When your other page submits itself, it is going to have to go grab this value and put it in a hidden field, then you can do whatever you want with it.
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
tentavariousAuthor Commented:
Would there be anything i can do with cache's?  The way my webpage is working now i dont think i can do it with javascript, without having to refresh the page.
0
 
raterusCommented:
The delay your experiencing is the oodles of javascript loading up the textbox, even if it's cached, that the textbox has to go through to render.  Remember this is all javascript driven, and java"script" is a scripting language, so it all has to be executed on the fly.  It isn't very efficient..and look at what it's doing!
0
 
tentavariousAuthor Commented:
Freetextbox2.0 didnt have this problem but the Freetextbox3.04 does, i add the controls i want programmly on the freetextbox and there are only 8 controls, so i dont know why its so slow.  What about putting the freetextbox in a  Usercontrol?
0
 
raterusCommented:
It won't matter, usercontrols get rendered to html just like something put on the main page.  The browser doesn't know anything different.  I guess going back to FTB 2.0 isn't an option...
0
 
tentavariousAuthor Commented:
3.04 has a spell checker that's why i udgraded.  I had to add these tags to the web config file to make Freetextbox 3.04 work, i wonder if this is the reason for the performance loss.  Freetextbox2.0 didnt require any changes be made to the web.config file

<httpHandlers>
<add verb="GET"
path="FtbWebResource.axd"
type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />
</httpHandlers>
0
 
raterusCommented:
ooh, HttpHandlers, I guess that is how it's serving the javascript and any images to the browser, it could be possible then that they've set this up not to cache on the browser (though I don't know why they'd do a think like that)

I just went here and looked at the sample they have on the main page
http://www.freetextbox.com/Default.aspx

Hit the "save" button, do you see the performance problems here like on your page?  It seems pretty fast to me...
0
 
tentavariousAuthor Commented:
Theres is pretty fast, but we have an older server and you can really see how slow it is.  Is there anything i can do about the handlers.
0
 
tentavariousAuthor Commented:
I think their site is using Asp.net version 2.0 i am still using version 1.1 should i upgrade?
0
 
raterusCommented:
Not unless you can get at the code, and even then I wouldn't know what to tell you.  It seems like that part works...IF you have a fast server.  Time for an upgrade? :-)
0
 
raterusCommented:
asp.net 2.0 is still in beta, I doubt they'd be using that...
0
 
tentavariousAuthor Commented:
I was reading and it instructed if using Asp.net 2.0 you dont need to make the web.config change
0
 
tentavariousAuthor Commented:
Ok i got spell check working with 2.0 but i cant get image to show up, here is how i add the netspell button
      <ftb:FreeTextBox id="FreeTextBox1" runat="server" Width="550px" AutoGenerateToolbarsFromString="True"
                                    EnableHtmlMode="False" ButtonDownImage="False" ButtonOverImage="True">
                                                <Toolbars>
                <FTB:Toolbar runat="server" >
                    <FTB:NetSpell Buttonimage="images\arrowlink.GIF" runat="server" />
         
                </FTB:Toolbar>
             
            </Toolbars>
                                    </ftb:FreeTextBox>
0
 
tentavariousAuthor Commented:
Got it working with freetextbox2.0 i didnt have the right image address.  Works fine now.
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

  • 9
  • 7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now