Solved

Experiencing strange behaviors with FreeTextBox

Posted on 2007-04-06
6
418 Views
Last Modified: 2012-05-05
Experiencing strange behaviors with FreeTextBox
We have used this tool before with fairly good luck, however after implementing it within a asp:Menu Tab, the editor does not always hold its width. On initial page load it is fine, however if you click inside the editor and then in a different form field, the editor mysteriously grows to 100% in width, taking up the entire screen.

We are using Asp.Net 2.0 and C#. There is some sample code below and I would appreciate any help that may be available.

Example:
<div>
    <asp:Menu ID="Menu1" Orientation="Horizontal" StaticMenuItemStyle-CssClass="tab"
        StaticSelectedStyle-CssClass="selectedTab" CssClass="tabs" OnMenuItemClick="Menu1_MenuItemClick"
        runat="server">
        <Items>          
            <asp:MenuItem Text="Add Content" Value="0" Selected="true" />            
            <asp:MenuItem Text="Edit Content" Value="1" />                    
        </Items>
    </asp:Menu>
    <div class="tabContents">
    <asp:MultiView ID="MultiView1" ActiveViewIndex="0" runat="server">
        <asp:View ID="View1" runat="server">
<FTB:FreeTextBox id="txtContentEditor" runat="Server" supportfolder="~/FtbWebResource.axd" AutoGenerateToolbarsFromString="false" height="400" width="500"></FTB:FreeTextBox>
</asp:View>
    </asp.MultiView>
</div>

Thanks in advance
CJSantora
0
Comment
Question by:CJSantora
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 19

Expert Comment

by:DreamMaster
ID: 18863332
I doubt you will see a lot people that had the same combination ;) You could always ask the maker of FreeTextBox if this something that is regarded as a known problem. You'd probably have more luck that way.

I am using FreeTextBox, but have never used it in conjunction with the ASP:Menu control, and can't say that I've found anyone with the same problem.

Regards,
Max.
0
 

Author Comment

by:CJSantora
ID: 18863888
If you have used FreeTextBox and attemtped to post questions to there site, you probably already know that they are less than responsive. So I understand that this may be slightly unique, but I cannot imagine that I am the only one that has ever run into this, so I appreciate your input, but I am still hoping for someone to give me some possible reasons or suggestions in resolving this issue.

Thanks anyway
CJSantora
0
 
LVL 37

Expert Comment

by:samtran0331
ID: 18864039
Is the strange behavior consistent on different browsers?

Looking at this:
<div class="tabContents">
    <asp:MultiView ID="MultiView1" ActiveViewIndex="0" runat="server">
        <asp:View ID="View1" runat="server">


...makes me wonder if there is something in your tabContents CSS that might be causing the problem? or are you manipulating the div with javascript?

do you have other views in your multiview? if not, maybe remove it all together?
or even if you do have other views....maybe just try it without the multiview/views to see if it keeps your layout consistent.

0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:CJSantora
ID: 18864147
Thanks for the reply samtran0331
I hadn't considered the browsers, I guess I was wrapped up in trying to decode it. I tried it in FireFox and it does not seem to be an issue. It is happening in IE 7. I will try some other browsers to see if it is limited to this browser, although this is the browser of choice by the company I am writting this for also.

CJSantora
0
 
LVL 37

Accepted Solution

by:
samtran0331 earned 500 total points
ID: 18864689
At my job, I have to test everything in IE6,IE7,Mozilla (FireFox and Netscape), Opera, Mac Safari, Mac Firefox,...and (believe it or not) Mac IE (neither apple nor microsoft support it) (but I have to)...

IE is always the worse browser...horrible catch-22 that the worse browser is also the most widely-used browser!

I'm willing to bet it is in the div style "tabContents"....or there is some div layering applied somewhere...maybe to the multiview and view that IE doesn't like....
0
 

Author Comment

by:CJSantora
ID: 18869037
Thanks for the lead samtran0331
I will work on the divs and see if that s the culprit. And we should check our work in most of those browsers,  I guess that is just a matter of building good habits.

I will get back to you soon
CJSantora
0

Featured Post

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question