Problems with WebControl and Internet Explorer
Posted: Wed Dec 29, 2010 7:08 am
* Reply with quote
Problems with WebControl and Internet Explorer
Postby storzum ยป Thu Jun 05, 2008 3:55 pm
Hi,
I want to implement the Folder Drag`n Drop on a Sharepoint-Webseite.
Therefor I create a asp.net - File (.ascx).
On the top I write:
<script type="text/javascript" src="/UserControls/js/ajax.js"></script>
<script type="text/javascript" src="/UserControls/js/dhtml-suite-for-applications-without-comments.js"> </script>
In the middle I place the code from the Example-HTML:
<ul id="DHTMLSuite_tree2" class="DHTMLSuite_tree">
<li id="node10000" noDrag="true" noSiblings="true"><a href="#">Root node</a>
<ul>
<li id="node1"><a href="#">Europe</a>
.
.
.
And on the bottom:
<input type="button" onclick="alert(treeObj.getSaveString())" value="Save" />
<script type="text/javascript">
treeObj = new DHTMLSuite.JSDragDropTree();
treeObj.setTreeId('DHTMLSuite_tree2');
treeObj.setMaximumDepth(7);
treeObj.setMessageMaximumDepthReached('Maximum depth reached'); // If you want to show a message when maximum depth is reached, i.e. on drop.
treeObj.init();
treeObj.expandAll();
</script>
I copy the WebControl to my Sharepoint-Server.
When I access this Site with Firefox all is well.
But when I try to access the Site with the InternetExplorer (7.0) there comes a Message, that the Website cannot opened.
Any ideas?
=================