Click here to Skip to main content
15,889,931 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
<iewc:TreeView  ID="tvMenuTree" Style="z-index: 105; left: 10px; position: absolute;
                top: 5px" TabIndex="-1" runat="server" Width="417px" Height="367px" ImageUrl="Images/leaf.jpg"
                BorderStyle="None" BorderWidth="1px" BorderColor="SteelBlue" Target="_self" Indent="20"
                DefaultStyle="font-family:Arial;font-size:8pt;line-height:16pt;" HoverStyle="text-decoration:underline;"
                ShowPlus="False" ShowLines="False" ShowToolTip="False">

                        <iewc:TreeNode ImageUrl="Images/Help.bmp" Text="Help" ID="Help" Target="Help" ></iewc:TreeNode>
                        <iewc:TreeNode ImageUrl="Images/fldrc.jpg" Text="Update and Display" Expanded="True" ExpandedImageUrl="Images/fldro.jpg">
                            <iewc:TreeNode NavigateUrl="Domains.aspx?Panel=PanelList" Text="Domains" Target="Domains"></iewc:TreeNode>
                            <iewc:TreeNode NavigateUrl="Sources.aspx?Panel=PanelList" Text="Sources" Expanded="True" Target="Sources"></iewc:TreeNode>
                            <iewc:TreeNode NavigateUrl="Terms.aspx?Panel=PanelFind" Text="Terms" Target="Terms"></iewc:TreeNode>
                            <iewc:TreeNode NavigateUrl="TermsSearch.htm" Text="Search for Terms" Target="_top"></iewc:TreeNode>
                        </iewc:TreeNode>

            </iewc:TreeView>

If I open my application in Browser, Internet Explorer(IE Version - 8.0.6001.18702) it will display as below in a single line
"Help Update and Display Domains Sources Terms Search for Terms"

But the same application in Browser, Mozilla Firefox(Version 3.6.13) it willl display as below
"Help<br />
Update and Display<br />
Domains<br />
Sources<br />
Terms<br />
Search for Terms"



Html View
XML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>

</title></head>
<body>
    <form name="form1" method="post" action="Default.aspx" id="form1">
<div>
<input type="hidden" name="__tvMenuTree_State__" id="__tvMenuTree_State__" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTk3NTY5NDQyNg9kFgICAw9kFgICAQ8UKwAGDxYCHhFTZWxlY3RlZE5vZGVJbmRleAUBMGRkZGRkFCsAAmQUKwACFgFmFgEUKwACPCsABAEAFgIeCFNlbGVjdGVkZ2RkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYBBQp0dk1lbnVUcmVlwapkS8lSy9kBxiaCLs+IpgHvb3g=" />
</div>

    <div>
    <?XML:NAMESPACE PREFIX=TVNS />
<?IMPORT NAMESPACE=TVNS IMPLEMENTATION="/webctrl_client/1_0/treeview.htc" />
<tvns:treeview id="tvMenuTree" tabindex="-1" defaultStyle="font-family:Arial;font-size:8pt;line-height:16pt;" hoverStyle="text-decoration:underline;" imageUrl="Images/leaf.jpg" target="_self" selectedNodeIndex="0" HelperID="__tvMenuTree_State__" systemImagesPath="/webctrl_client/1_0/treeimages/" showLines="false" indent="20" showPlus="false" showToolTip="false" selectExpands="true" onexpand="javascript: if (this.clickedNodeIndex != null) this.queueEvent('onexpand', this.clickedNodeIndex)" oncollapse="javascript: if (this.clickedNodeIndex != null) this.queueEvent('oncollapse', this.clickedNodeIndex)" oncheck="javascript: if (this.clickedNodeIndex != null) this.queueEvent('oncheck', this.clickedNodeIndex)" onselectedindexchange="javascript: if (event.oldTreeNodeIndex != event.newTreeNodeIndex) this.queueEvent('onselectedindexchange', event.oldTreeNodeIndex + ',' + event.newTreeNodeIndex)" style="display:inline-block;border-color:SteelBlue;border-width:1px;border-style:None;height:367px;width:417px;z-index: 105; left: 10px; position: absolute;
                top: 5px">
    <tvns:treenode Selected="true" ImageUrl="Images/Help.bmp" Target="Help" ID="Help">
        Help
    </tvns:treenode><tvns:treenode Expanded="True" ImageUrl="Images/fldrc.jpg" ExpandedImageUrl="Images/fldro.jpg">
        Update and Display<tvns:treenode NavigateUrl="Domains.aspx?Panel=PanelList" Target="Domains">
            Domains
        </tvns:treenode><tvns:treenode Expanded="True" NavigateUrl="Sources.aspx?Panel=PanelList" Target="Sources">
            Sources
        </tvns:treenode><tvns:treenode NavigateUrl="Terms.aspx?Panel=PanelFind" Target="Terms">
            Terms
        </tvns:treenode><tvns:treenode NavigateUrl="TermsSearch.htm" Target="_top">
            Search for Terms
        </tvns:treenode>
    </tvns:treenode>
</tvns:treeview>

    </div>
    </form>
</body>
</html>




Why is it so?can you help me to solve this?
Posted
Updated 23-Jan-11 21:54pm
v4
Comments
Sergey Alexandrovich Kryukov 24-Jan-11 0:53am    
Will you show at least unrendered HTML, how it looks from client side (in Browser: View page source)?
swathi6589 24-Jan-11 1:20am    
I dint get you.Can you tell me exactly what you are asking
Venkatesh Mookkan 24-Jan-11 1:43am    
What he says is, right click the browser and get the HTML source and paste it in your question.
Sergey Alexandrovich Kryukov 24-Jan-11 12:43pm    
Venkatesh is right.

It look like third party control.
My suggestion is first try to check this control in IE browser.
It is possible that the control you are using is not compatible with this IE version.
 
Share this answer
 
Hi,


In <iewc:TreeView Check there is any property that will use to display horizontal or vertical or any other.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900