Hi All,
I am using menu as following way in my code.
<ignav:UltraWebMenu ID="UltraWebMenu2" TabIndex="2" runat="server" Cursor="Default" Font-Names="Verdana" Font-Size="8pt" Width="100%" BorderWidth="1px" WebMenuStyle="XPClient" BackColor="#AFC2E1" EnhancedRendering="True" TopItemSpacing="Compact" Section508Compliant="true" > <HoverItemStyle Cursor="Default" BorderWidth="1px" BorderColor="#93A070" BorderStyle="Solid" ForeColor="Black" BackColor="#c4cadc"> <Margin Bottom="0px" Left="0px" Top="0px" Right="0px"></Margin> </HoverItemStyle> <SeparatorStyle BackColor="#AFC2E1" CustomRules="background-repeat:repeat-x; "> </SeparatorStyle> <Items> <ignav:Item Text="A1 / A2" AccessKey="h"> <Items> <ignav:Item Text="A1" TargetUrl="~/test/a1.aspx" AccessKey="t"> </ignav:Item> <ignav:Item Text="A2" TargetUrl="~/test/a2.aspx" AccessKey="d"> </ignav:Item> </Items> </ignav:Item> <ignav:Item Text="B" AccessKey="c" > <Items> <ignav:Item Text="B1" TargetUrl="~/BB/b1.aspx" AccessKey="u"> </ignav:Item> <ignav:Item Text="B2" TargetUrl="~/BB/b2.aspx" AccessKey="r"> </ignav:Item> <ignav:Item Text="B3" TargetUrl="~/BB/b3.aspx" AccessKey="n"> </ignav:Item> </Items> </ignav:Item> <ignav:Item Text="Logout" AccessKey="l" TargetUrl="~/log.aspx"> </ignav:Item> </Items> <ExpandEffects ShadowColor="Black" Type="Fade"></ExpandEffects> <TopSelectedStyle BorderWidth="1px" BorderColor="Black" BorderStyle="Solid" ForeColor="Black" BackColor="#c4cadc"> <Margin Bottom="0px" Left="0px" Top="0px" Right="0px"></Margin> </TopSelectedStyle> <IslandStyle Cursor="Default" BorderWidth="1px" Font-Names="Verdana" BorderColor="Black" BorderStyle="Solid" BackColor="#AFC2E1"> </IslandStyle> <DisabledStyle ForeColor="LightGray"> </DisabledStyle> <MenuClientSideEvents ItemClick="UltraWebMenu1_ItemClick"></MenuClientSideEvents> <Styles> <ignav:Style Cursor="Default" BorderWidth="1px" Font-Size="8pt" Font-Names="Verdana" BorderColor="#93A070" BorderStyle="Solid" BackColor="#AFC2E1" CssClass="TopHover10"> </ignav:Style> <ignav:Style BorderWidth="1px" Font-Size="8pt" Font-Names="Verdana" BorderColor="#DCD9AC" BorderStyle="Solid" ForeColor="Black" BackgroundImage="None" BackColor="#DCD9AC" CssClass="TopClass10"> </ignav:Style> </Styles> <Levels> <ignav:Level LevelHoverClass="" LevelClass="" Index="0"></ignav:Level> <ignav:Level Index="1" LevelCheckBoxes="False"></ignav:Level> <ignav:Level Index="2" LevelCheckBoxes="False"></ignav:Level> <ignav:Level Index="3"></ignav:Level> </Levels> <ItemStyle Font-Size="8pt" ForeColor="Black" BackColor="#AFC2E1" > <Margin Bottom="1px" Left="1px" Top="1px" Right="1px"></Margin> </ItemStyle> </ignav:UltraWebMenu>
Now my site is on SSL.
When I click on menu, I am getting a security error as shown below:
"This page contains both secure and nonsecure items. Do you want to display the nonsecure items?"
How can I solve it.
Quick help will be highly appreciated.
Thanks in advance
Regards,
Paresh Rathod
Hi Pareshr, Which version of NetAdvantage are you using? I'm pretty sure that's an old bug that's been fixed already. -Dawud
Hi Dawud,
Thanks for your email regarding our query.
You replied
Resolved In Version(s): 6.3.20063.1076 CLR2.0, 6.3.20063.1076 CLR1.x, 7.1.20071.1052 CLR2.x, 7.1.20071.1052 CLR1.x, 7.2.20072.46CLR 2.x
Verified In Version(s): 6.3.20063.1076 CLR2.0, 6.3.20063.1076 CLR1.x, 7.1.20071.1053 CLR2.x, 7.1.20071.1053 CLR1.x, 7.2.20072.59 CLR 2.x
But we are using NetAdvantage for .NET 2007 Volume 1 CLR 2.0
Build Version: 7.1.20071.40
We are geting the same security issue in this version.
Can you pls guide us solve the issue. It is very urgent.
Thanks in Advance
Paresh
pareshr said:Hi Dawud, Thanks for your email regarding our query. You replied Resolved In Version(s): 6.3.20063.1076 CLR2.0, 6.3.20063.1076 CLR1.x, 7.1.20071.1052 CLR2.x, 7.1.20071.1052 CLR1.x, 7.2.20072.46CLR 2.x Verified In Version(s): 6.3.20063.1076 CLR2.0, 6.3.20063.1076 CLR1.x, 7.1.20071.1053 CLR2.x, 7.1.20071.1053 CLR1.x, 7.2.20072.59 CLR 2.x But we are using NetAdvantage for .NET 2007 Volume 1 CLR 2.0 Build Version: 7.1.20071.40 We are geting the same security issue in this version. Can you pls guide us solve the issue. It is very urgent. Thanks in Advance Paresh
Hi Paresh,
Build 7.1.20071.40 is an earlier version than the fixed version I referenced in my previous post 7.1.20071.1053, so the hotfix should still work for you if you don't want to modify the js files on your own.
-Dawud
Paresh,
I am sure what Infragistics would recommend would be to apply the latest hotfix. However, if this is not possible due to live running production environments or because of a lack of resources to spend the time retesting the entire app after applying the hotfix, this is how I solved the issue.
In the ig_webmenux.js file located in the scripts folder (generally found at /ig_common/20071/scripts), there is a small fix that we employed that worked wondrously for us.
There is a function called ig_WebMenu.prototype._move. In the CLR1.1 version, this is found at around line # 533. Within this function you will most likely see a line that looks like the following within a while loop:
elem.removeChild(this._abs[i] = nodes[i]);
Change it to read:
this._abs[i] = nodes[i];
This is actually one of the changes that Infragistics themselves have made in the latest hotfix (I compared the js files against each other).
I cannot make any guarantees about this fix, but it works for us. I would recommend though that if you can apply the hotfix to do so.
Hope this helps,
Tim