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

Unsafe website and IE8

2 Answers 32 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Julian Roberts
Top achievements
Rank 1
Julian Roberts asked on 04 Nov 2010, 10:30 PM
For several hours this after I was getting an error in IE8. It was the infamous red screen of death proclaiming "this website has been reported as unsafe".

The cause of this error was the telerik:RadTreeView tag. As soon as I removed the tag, the error went away. Did anyone else notice this behaviour? Code below.

  <script type="text/javascript">
            //<!--
                function onClientContextMenuItemClicked(sender, args)
                {
                    var menuItem = args.get_menuItem();
                    var treeNode = args.get_node();

                    switch(menuItem.get_value())
                    {
                        case "Edit":
                            var wnd = location.href='/admin/content_category_details_self.aspx?CategoryID=' + treeNode.get_value();
                            wnd.setSize(800,500);
                            break;
                        case "Add":
                            var wnd = location.href='/admin/content_category_details_self.aspx?CategoryID=0&ParentID=' + treeNode.get_value();
                            wnd.setSize(800,500);
                            break;
                        case "Sort":
                            OpenOverlay('/admin/content_category_sort.aspx?CategoryID=' + treeNode.get_value(),600,400);
                           break;
                    }
                }
            //-->
            </script>


<telerik:RadTreeView Skin="Outlook" ID="RadTree1" OnClientContextMenuItemClicked="onClientContextMenuItemClicked" Runat="server">
          <ContextMenus>
            <telerik:RadTreeViewContextMenu Skin="Outlook" ID="MainContextMenu" runat="server">
              <Items>
                <telerik:RadMenuItem Value="Edit" Text="Edit"></telerik:RadMenuItem>
                <telerik:RadMenuItem Value="Add" Text="Add Subcategory"></telerik:RadMenuItem>
                <telerik:RadMenuItem Value="Sort" Text="Sort"></telerik:RadMenuItem>
              </Items>
            </telerik:RadTreeViewContextMenu>
          </ContextMenus>
        </telerik:RadTreeView> 

2 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 08 Nov 2010, 09:33 AM
Hi Julian,

Please check this article regarding the described issue - it seems that the problem is fixed already.

Let us know whether everything is OK now on your end after you perform tests once more.

Regards,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Julian Roberts
Top achievements
Rank 1
answered on 09 Nov 2010, 10:31 AM
Excellent. Thanks for the link. All is OK now.
Tags
TreeView
Asked by
Julian Roberts
Top achievements
Rank 1
Answers by
Yana
Telerik team
Julian Roberts
Top achievements
Rank 1
Share this question
or