This is a migrated thread and some comments may be shown as answers.

RadTreeView problem in Fieldset

3 Answers 66 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Casey
Top achievements
Rank 1
Casey asked on 06 Jun 2011, 07:14 PM
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. 

3 Answers, 1 is accepted

Sort by
0
Ivan Zhekov
Telerik team
answered on 09 Jun 2011, 09:21 AM
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.

0
Casey
Top achievements
Rank 1
answered on 09 Jun 2011, 03:53 PM
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.
0
Ivan Zhekov
Telerik team
answered on 01 Jul 2011, 04:06 PM
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.

Tags
TreeView
Asked by
Casey
Top achievements
Rank 1
Answers by
Ivan Zhekov
Telerik team
Casey
Top achievements
Rank 1
Share this question
or