|
Rank: Member Groups: Member
Joined: 11/20/2008 Posts: 14
|
Hi, Please could you help with this problem: Im using a master page and im adding a TreeView in there but im getting this error . Thanks for any idea.
|
|
Rank: Member Groups: Member
Joined: 11/20/2008 Posts: 14
|
Hi,
Sorry the error is: "Error Creating Control-Panel1. The string 2eo:eo:TreeNode' contains too many device filters. There can be only once."
The TreeView its inside a AspPanel in the master Page.
Thanks for any help.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
I would think you need to change "eo:eo:TreeNode" to "eo:TreeNode".
Thanks!
|
|
Rank: Member Groups: Member
Joined: 11/20/2008 Posts: 14
|
I check my code and theres no 'eo:eo:TreeNode' anywhere. In my master´s page code i got my treeview code like this
Code: HTML/ASPX
<td class="style4" valign="top">
<eo:TreeView ID="TreeView1" runat="server" ControlSkinID="None" Height="250px"
Width="200px">
<LookNodes>
<eo:TreeNode CollapsedImageUrl="00030301"
DisabledStyle-CssText="background-color:transparent;border-bottom-style:none;border-left-style:none;border-right-style:none;border-top-style:none;color:Gray;padding-bottom:1px;padding-left:1px;padding-right:1px;padding-top:1px;"
ExpandedImageUrl="00030302" ImageUrl="00030301" ItemID="_Default"
NormalStyle-CssText="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; PADDING-BOTTOM: 1px; COLOR: black; BORDER-TOP-STYLE: none; PADDING-TOP: 1px; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: transparent; BORDER-BOTTOM-STYLE: none"
SelectedStyle-CssText="background-color:#316ac5;border-bottom-color:#999999;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#999999;border-left-style:solid;border-left-width:1px;border-right-color:#999999;border-right-style:solid;border-right-width:1px;border-top-color:#999999;border-top-style:solid;border-top-width:1px;color:White;padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px;">
</eo:TreeNode>
</LookNodes>
<TopGroup Style-CssText="border-bottom-color:#999999;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#999999;border-left-style:solid;border-left-width:1px;border-right-color:#999999;border-right-style:solid;border-right-width:1px;border-top-color:#999999;border-top-style:solid;border-top-width:1px;color:black;cursor:hand;font-family:Tahoma;font-size:8pt;padding-bottom:2px;padding-left:2px;padding-right:2px;padding-top:2px;">
<Nodes>
<eo:TreeNode ImageUrl="00030303" Text="Desktop">
<SubGroup>
<Nodes>
<eo:TreeNode ImageUrl="00030304" Text="My Documents">
</eo:TreeNode>
<eo:TreeNode ImageUrl="00030305" Text="My Computer">
<SubGroup>
<Nodes>
<eo:TreeNode ImageUrl="00030308" Text="Local Disk (C:)">
<SubGroup>
<Nodes>
<eo:TreeNode Text="Documents and Settings">
<SubGroup>
<Nodes>
<eo:TreeNode Text="Administrator">
</eo:TreeNode>
<eo:TreeNode Text="All Users">
</eo:TreeNode>
<eo:TreeNode Text="Default User">
</eo:TreeNode>
</Nodes>
</SubGroup>
</eo:TreeNode>
<eo:TreeNode Text="Program Files">
<SubGroup>
<Nodes>
<eo:TreeNode Text="Common Files">
</eo:TreeNode>
<eo:TreeNode Text="ComPlus Applications">
</eo:TreeNode>
<eo:TreeNode Text="Internet Explorer">
</eo:TreeNode>
<eo:TreeNode Text="MSDN">
</eo:TreeNode>
</Nodes>
</SubGroup>
</eo:TreeNode>
<eo:TreeNode Text="Windows">
<SubGroup>
<Nodes>
<eo:TreeNode Text="Fonts">
</eo:TreeNode>
<eo:TreeNode Text="Help">
</eo:TreeNode>
<eo:TreeNode Text="System32">
</eo:TreeNode>
</Nodes>
</SubGroup>
</eo:TreeNode>
</Nodes>
</SubGroup>
</eo:TreeNode>
<eo:TreeNode ImageUrl="00030309" Text="CD Drive (D:)">
</eo:TreeNode>
<eo:TreeNode ImageUrl="00030310" Text="Control Panel">
</eo:TreeNode>
</Nodes>
</SubGroup>
</eo:TreeNode>
<eo:TreeNode ImageUrl="00030306" Text="My Network Places">
</eo:TreeNode>
<eo:TreeNode ImageUrl="00030307" Text="Recycle Bin">
</eo:TreeNode>
</Nodes>
</SubGroup>
</eo:TreeNode>
</Nodes>
</TopGroup>
</eo:TreeView>
</td>
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
There is a VS 2008 bug that would cause this error when you have multiple tag prefixes that are from one common namespace. So you may want to check all the @Register directives in your page and also <add> elements under your pages/controls section in your web.config. As a test, you can also try to create a separate master page and copy and paste the TreeView definition into that master page and see if you get the same error.
Thanks
|
|
Rank: Member Groups: Member
Joined: 11/20/2008 Posts: 14
|
Hi,
Ok I copied and paste the same TreeView in other master page and i got the same error. Also I notice when I got my treenodes for example like this: - SYSTEM - PC1 - PC2 everything its ok, but when i change the structure for example like this: - SYSTEM -PC1 -PC1_HW -PC1_SW -PC2 -PC2_HW This is when I got the error, in any treeView that I add in any master page.
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Please try to isolate the problem into a test project and send the project to us. We will PM you as to where to send it.
Thanks!
|
|