RadTreeView problem in Fieldset

4 posts, 0 answers
  1. Casey
    Casey avatar
    2 posts
    Member since:
    Jun 2011

    Posted 06 Jun 2011 Link to this post

    Hey guys...hope you can help with this one.

    I've got a RadTreeView control inside a fieldset. For the purposes of this request I cannot change how the project is organized :)  The problem is, in IE only of course, the TreeView overlaps content below the fieldset as it is expanded (image attached).

    This problem goes away if I remove the fieldset! Is there any redraw or refresh events that I can trigger on the TreeView that will solve this issue?

    Occurs in IE8 in both regular and compatibility modes. 

  2. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    651 posts

    Posted 09 Jun 2011 Link to this post

    Hello Casey,

    Do you have a live URL we could have a look at? Without it it would pretty much guessing.

    Kind regards,
    Ivan Zhekov
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. Casey
    Casey avatar
    2 posts
    Member since:
    Jun 2011

    Posted 09 Jun 2011 Link to this post

    We do have a live site but due to access restrictions you would not be able to get into it.

    Best I can do it to give page code, sorry. You'll have to strip out some stuff and make it more generic to run it obviously, but the general idea of how it's nested is... fieldset/panel/tabel/td/radtreeview 

    As I mentioned before the whole thing works fine in every browser but IE, but works in IE if I remove the fieldset.

    I can get the treeview to display properly if I rollover and rollout in the vicinity of the overlap or if I click on the tree nodes it redraws/refreshes and looks fine. Just wondering if there's an event on expand that I need to call manually to force it.

    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="NarrativeInformationGeneral.ascx.cs" Inherits="ReportItWebSite.Controls.UserControls.Expert.Aviation.NarrativeInformation.NarrativeInformationGeneral" %>
    <%@ Register src="../../../MultiLineTextControl.ascx" tagname="MultiLineTextControl" tagprefix="uc1" %>
     
    <fieldset style="width:97%;">
        <legend>
            <asp:Label
                runat="server"
                ID="lblNarrativeHeaderText"
                Text="Investigation Narrative" />
            <reportIt:ExplainToolTip runat="server" ID="expInvestigationNarratives" />
        </legend>
         
        <asp:Panel runat="server" ID="pnlNarrativeList" Enabled="true" >   
         
            <table width="100%" cellpadding="0" cellspacing="0">
                <tr>
                    <td valign="top" style="width:250px;">
                        <telerik:RadTreeView
                            runat="server"
                            ID="rtvNarrativeInformationGeneralList"
                            style="white-space:normal; overflow:visible;"
                            OnNodeClick="rtvNarrativeInformationGeneralList_NodeClick">
                        </telerik:RadTreeView>               
                    </td>
                    <td valign="top">
                     
                        <asp:Panel
                            runat="server"
                            ID="pnlEditNarrative"
                            Visible="false"
                            CssClass="treePanelRt" style="height:100%">
                             
                            <div>
                                <asp:HiddenField ID="hdfSequenceofEventID" runat="server"/>
                                <asp:HiddenField ID="hdfSequenceofEventSubTypeID" runat="server" />
                                <asp:HiddenField ID="hdfPersonnelID" runat="server" />
                                <asp:HiddenField ID="hdfMaterielID" runat="server" />
                                <asp:HiddenField ID="hdfAircraftID" runat="server" />
                                <asp:HiddenField ID="hdfCaseType" runat="server" />
                                <asp:Label ID="lblCurrentItem" runat="server" />
                                <uc1:MultiLineTextControl
                                    ID="mltNarrative"
                                    Height="250"
                                    runat="server"
                                    style="overflow:hidden;" />
                                <asp:Label
                                    ID="lblItemSaved"
                                    runat="server"
                                    style="color:Green;
                                    font-style:italic;"/>
                            </div>
                            <div class="clear"></div>
                        </asp:Panel
                    </td>
                </tr>
            </table>
        </asp:Panel>
    </fieldset>
    <br />
    <br />

    thanks for taking a look at it.
  4. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    651 posts

    Posted 01 Jul 2011 Link to this post

    Hello Casey,

    I have prepared an example using your snippet (I have just populated the TreeView) and it seems to be behaving properly.

    Perhaps there is something quite specific to your page such as CSS or scripts.

    Regards,
    Ivan Zhekov
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top