Solved

Experiencing strange behaviors with FreeTextBox

Posted on 2007-04-06
6
417 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
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 

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

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

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

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

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