<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Internet Explorer Web Controls</title><link>http://forums.asp.net/91.aspx</link><description>General discussion of the Internet Explorer Web Controls source package for ASP.NET 1.x.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>TreeView client side script</title><link>http://forums.asp.net/thread/594183.aspx</link><pubDate>Fri, 04 Jun 2004 14:15:01 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:594183</guid><dc:creator>JohnLR</dc:creator><author>JohnLR</author><slash:comments>20</slash:comments><comments>http://forums.asp.net/thread/594183.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=594183</wfw:commentRss><description>Hi everyone,
&lt;br /&gt;

&lt;br /&gt;
Adapting Vikram Bhardwaj's original code for fixing various bugs in the TreeView control, I've written up a JScript library.  This code is independant of a given TreeView control, so as long as you setup the event handlers up properly it should work for multiple TreeView controls on the same page.  
&lt;br /&gt;

&lt;br /&gt;
Please let me know if you find any bugs.  Instructions for using this script are found in the opening block comment.  Note that the functionality I wanted is slightly different than Mr. Bhardwaj's, as explained in the comment.
&lt;br /&gt;

&lt;br /&gt;
If this doesn't format properly, just send me an e-mail and I'll forward you the code.
&lt;br /&gt;

&lt;br /&gt;
Thanks!
&lt;br /&gt;

&lt;br /&gt;
John LaRusic
&lt;br /&gt;

&lt;br /&gt;
&lt;pre&gt;
&lt;br /&gt;
/*
&lt;br /&gt;
	MODULE:		MS IE TreeView Control client script
&lt;br /&gt;
	PURPOSE:	This code fixes numerous bugs in the Microsoft TreeView
&lt;br /&gt;
				control, including the ability to allow postbacks
&lt;br /&gt;
				
&lt;br /&gt;
				A TreeView object setup to use this library will have the
&lt;br /&gt;
				following functionality:
&lt;br /&gt;
					a)	When a given checkbox is checked, the parent check
&lt;br /&gt;
						boxes will also be checked.  *NOTE* This differs from
&lt;br /&gt;
						the functionality that Mr. Bhardwaj originally
&lt;br /&gt;
						supplied.
&lt;br /&gt;
					b)	If a given checkbox is unchecked, then if all the
&lt;br /&gt;
						sibiling checkboxes are also not checked, the parent
&lt;br /&gt;
						checkbox will become unchecked.
&lt;br /&gt;
						
&lt;br /&gt;
				There are still the occasional bug in this treeview, and I
&lt;br /&gt;
				think its tied to the behavior file for the treeview.  If you
&lt;br /&gt;
				see a bug in this code, please bring my attention to it.  My
&lt;br /&gt;
				e-mail is johnlr@gmail.com thanks!
&lt;br /&gt;
				
&lt;br /&gt;
	AUTHOR:		John LaRusic (with many thanks to Mr. Bhardwaj for the problem
&lt;br /&gt;
				definition and solution)
&lt;br /&gt;
				
&lt;br /&gt;
	CREDIT:		Vikram Bhardwaj wrote most of this code for a single TreeView
&lt;br /&gt;
				object.  I simply adapted it by making it a bit more portable
&lt;br /&gt;
				(multiple TreeView objects can share this library) and fixing
&lt;br /&gt;
				a couple of bugs.  I also formatted the code nicely and added
&lt;br /&gt;
				comments should anyone want to adapt this.
&lt;br /&gt;
				
&lt;br /&gt;
				Mr. Bhardwaj's original post on this code can be found at:
&lt;br /&gt;
				http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&amp;amp;PostID=301443
&lt;br /&gt;
				
&lt;br /&gt;
	TO USE:		Reference this script file on your page and add the following
&lt;br /&gt;
				event handlers (where &amp;quot;treeview1&amp;quot; is the ID of your tree view
&lt;br /&gt;
				object)
&lt;br /&gt;
				
&lt;br /&gt;
				&amp;lt;script event=&amp;quot;oncheck&amp;quot; for=&amp;quot;treeview1&amp;quot;&amp;gt;
&lt;br /&gt;
					TreeView_OnCheck(treeview1);
&lt;br /&gt;
				&amp;lt;/script&amp;gt;
&lt;br /&gt;

&lt;br /&gt;
				&amp;lt;script event=&amp;quot;onhover&amp;quot; for=&amp;quot;treeview1&amp;quot;&amp;gt;
&lt;br /&gt;
					TreeView_OnHover(treeview1, event.treeNodeIndex);
&lt;br /&gt;
				&amp;lt;/script&amp;gt;
&lt;br /&gt;

&lt;br /&gt;
				&amp;lt;script event=&amp;quot;onload&amp;quot; for=&amp;quot;window&amp;quot;&amp;gt; 
&lt;br /&gt;
					TreeView_Setup(treeview1);
&lt;br /&gt;
				&amp;lt;/script&amp;gt; 
&lt;br /&gt;
			
&lt;br /&gt;
				
&lt;br /&gt;
				You also need to add an onclick event handler to your submit
&lt;br /&gt;
				button to call the TreeView_ReadyForPostback for the tree.
&lt;br /&gt;
				For example:
&lt;br /&gt;
				
&lt;br /&gt;
				Button1.Attributes.Add(&amp;quot;onclick&amp;quot;, _
&lt;br /&gt;
					&amp;quot;TreeView_ReadyForPostback(treeview1)&amp;quot;)
&lt;br /&gt;
*/
&lt;br /&gt;

&lt;br /&gt;
/*
&lt;br /&gt;
	FUNCTION:	TreeView_OnCheck
&lt;br /&gt;
	PURPOSE:	Handles the OnCheck event for a TreeView control.
&lt;br /&gt;
				This will check all the parent nodes above the
&lt;br /&gt;
				&amp;quot;checked&amp;quot; node as well as check all the children
&lt;br /&gt;
				nodes below the &amp;quot;checked&amp;quot; node.
&lt;br /&gt;
	PARAMS:		objTreeView - The TreeView control ID
&lt;br /&gt;
*/
&lt;br /&gt;
function TreeView_OnCheck(objTreeView){
&lt;br /&gt;
	var objNode = objTreeView.getTreeNode(objTreeView.clickedNodeIndex); 
&lt;br /&gt;

&lt;br /&gt;
	// If this node was initially checked, then we need to handle a bug
&lt;br /&gt;
	// in the TreeView control and do exactly the opposite.  Once we do
&lt;br /&gt;
	// this once, then we want to continue as normal		
&lt;br /&gt;
	if(TreeView_IsInitChecked(objNode)){
&lt;br /&gt;
		TreeView_SetChecked(objNode, !TreeView_IsChecked(objNode));
&lt;br /&gt;
		TreeView_SetInitChecked(objNode, false);
&lt;br /&gt;
	}
&lt;br /&gt;
	
&lt;br /&gt;
	// Traverse the children and parents and refresh the tree
&lt;br /&gt;
	var bChecked = TreeView_IsChecked(objNode); 		
&lt;br /&gt;
	TreeView_TraverseChildren(objNode.getChildren(), bChecked); 
&lt;br /&gt;
	TreeView_TraverseParents(objNode, bChecked);
&lt;br /&gt;
	//TreeView_RefreshTree(objTreeView.getChildren()); 
&lt;br /&gt;
}
&lt;br /&gt;

&lt;br /&gt;
/*
&lt;br /&gt;
	FUNCTION:	TreeView_OnHover
&lt;br /&gt;
	PURPOSE:	Handles the OnHover event for a TreeView control
&lt;br /&gt;
				It selects the node the user hovered over.  This is to help
&lt;br /&gt;
				the program of an expanded node not being the selected node
&lt;br /&gt;
	PARAMS:		objTreeView - The TreeView control ID
&lt;br /&gt;
				strNodeIndex - The index of the node to select
&lt;br /&gt;
*/
&lt;br /&gt;
function TreeView_OnHover(objTreeView, strNodeIndex){
&lt;br /&gt;
	objTreeView.selectedNodeIndex = strNodeIndex;
&lt;br /&gt;
}
&lt;br /&gt;

&lt;br /&gt;
/*
&lt;br /&gt;
	FUNCTION:	TreeView_Setup
&lt;br /&gt;
	PURPOSE:	This sets up the TreeView control by building its
&lt;br /&gt;
				StrVals property.
&lt;br /&gt;
	PARAMS:		objTreeView - The TreeView control ID
&lt;br /&gt;
*/
&lt;br /&gt;
function TreeView_Setup(objTreeView){
&lt;br /&gt;
	TreeView_SetInitCheckedNodes(objTreeView.getChildren());
&lt;br /&gt;
}	
&lt;br /&gt;

&lt;br /&gt;
/*
&lt;br /&gt;
	FUNCTION:	TreeView_SetInitCheckedNodes
&lt;br /&gt;
	PURPOSE:	Sets which nodes in the tree are initially checked or not
&lt;br /&gt;
	PARAMS:		arrChildren - An array of children for a node
&lt;br /&gt;
	RETURNS:	The StrVal string for a given group of children
&lt;br /&gt;
*/
&lt;br /&gt;
function TreeView_SetInitCheckedNodes(arrChildren){
&lt;br /&gt;
	var objChild;
&lt;br /&gt;
	for(var i = 0; i &amp;lt; arrChildren.length; i++){
&lt;br /&gt;
		objChild = arrChildren[i];
&lt;br /&gt;
		
&lt;br /&gt;
		// Set whether the nodes were initially checked or not as well
&lt;br /&gt;
		// as set their initial value... yes, they are the same thing,
&lt;br /&gt;
		// but we might change whether a node has been &amp;quot;initially
&lt;br /&gt;
		// checked&amp;quot; or not later to handle a bug.
&lt;br /&gt;
		var blnIsChecked = TreeView_IsChecked(objChild);
&lt;br /&gt;
		TreeView_SetInitChecked(objChild, blnIsChecked);
&lt;br /&gt;
		TreeView_SetInitCheckValue(objChild, blnIsChecked);	
&lt;br /&gt;
		
&lt;br /&gt;
		// Call this function recursively on the children
&lt;br /&gt;
		TreeView_SetInitCheckedNodes(objChild.getChildren());
&lt;br /&gt;
	}
&lt;br /&gt;
}
&lt;br /&gt;

&lt;br /&gt;
/*
&lt;br /&gt;
	FUNCTION:	TreeView_IsChecked
&lt;br /&gt;
	PURPOSE:	Determines if a given tree node is checked or not
&lt;br /&gt;
	PARAMS:		objNode - A tree node object
&lt;br /&gt;
	RETURNS:	True if the node is checked, false if not
&lt;br /&gt;
*/
&lt;br /&gt;
function TreeView_IsChecked(objNode){
&lt;br /&gt;
	// This seems like it should be done in one line, but it helps deal with
&lt;br /&gt;
	// the case that the Checked attribute is equal to null
&lt;br /&gt;
	if(objNode.getAttribute(&amp;quot;Checked&amp;quot;))
&lt;br /&gt;
		return true;
&lt;br /&gt;
	else
&lt;br /&gt;
		return false; 
&lt;br /&gt;
}
&lt;br /&gt;

&lt;br /&gt;
/*
&lt;br /&gt;
	FUNCTION:	TreeView_SetChecked
&lt;br /&gt;
	PURPOSE:	Sets if a tree node is checked or not
&lt;br /&gt;
	PARAMS:		objNode - A tree node object
&lt;br /&gt;
*/
&lt;br /&gt;
function TreeView_SetChecked(objNode, blnChecked){
&lt;br /&gt;
	objNode.setAttribute(&amp;quot;Checked&amp;quot;, blnChecked);
&lt;br /&gt;
}
&lt;br /&gt;

&lt;br /&gt;
/*
&lt;br /&gt;
	FUNCTION:	TreeView_IsInitChecked
&lt;br /&gt;
	PURPOSE:	Determines if a given tree node was initially checked
&lt;br /&gt;
	PARAMS:		objNode - A tree node object
&lt;br /&gt;
	RETURNS:	True if the node was initially checked, false if not
&lt;br /&gt;
*/
&lt;br /&gt;
function TreeView_IsInitChecked(objNode){
&lt;br /&gt;
	return objNode.getAttribute(&amp;quot;InitChecked&amp;quot;); 
&lt;br /&gt;
}
&lt;br /&gt;

&lt;br /&gt;
/*
&lt;br /&gt;
	FUNCTION:	TreeView_SetInitChecked
&lt;br /&gt;
	PURPOSE:	Sets if a tree node is initially checked or not
&lt;br /&gt;
	PARAMS:		objNode - A tree node object
&lt;br /&gt;
				blnChecked - True if the node was initially checked,
&lt;br /&gt;
					false if not
&lt;br /&gt;
*/
&lt;br /&gt;
function TreeView_SetInitChecked(objNode, blnChecked){
&lt;br /&gt;
	objNode.setAttribute(&amp;quot;InitChecked&amp;quot;, blnChecked);
&lt;br /&gt;
}
&lt;br /&gt;

&lt;br /&gt;
/*
&lt;br /&gt;
	FUNCTION:	TreeView_IsInitChecked
&lt;br /&gt;
	PURPOSE:	Determines if a given tree node was initially checked
&lt;br /&gt;
	PARAMS:		objNode - A tree node object
&lt;br /&gt;
	RETURNS:	True if the node was initially checked, false if not
&lt;br /&gt;
*/
&lt;br /&gt;
function TreeView_GetInitCheckValue(objNode){
&lt;br /&gt;
	return objNode.getAttribute(&amp;quot;InitCheckValue&amp;quot;); 
&lt;br /&gt;
}
&lt;br /&gt;

&lt;br /&gt;
/*
&lt;br /&gt;
	FUNCTION:	TreeView_SetInitCheckValue
&lt;br /&gt;
	PURPOSE:	Sets the initially checked value of a node
&lt;br /&gt;
	PARAMS:		objNode - A tree node object
&lt;br /&gt;
				blnChecked - True if the node was originally checked,
&lt;br /&gt;
					false if not
&lt;br /&gt;
*/
&lt;br /&gt;
function TreeView_SetInitCheckValue(objNode, blnChecked){
&lt;br /&gt;
	objNode.setAttribute(&amp;quot;InitCheckValue&amp;quot;, blnChecked);
&lt;br /&gt;
}
&lt;br /&gt;

&lt;br /&gt;
/*
&lt;br /&gt;
	FUNCTION:	TreeView_TraverseChildren
&lt;br /&gt;
	PURPOSE:	A recursive function that traverses through the tree and
&lt;br /&gt;
				checks or unchecks the nodes
&lt;br /&gt;
	PARAMS:		arrChildren - An array of nodes
&lt;br /&gt;
				blnChecked - Determines whether to check the nodes or not
&lt;br /&gt;
*/
&lt;br /&gt;
function TreeView_TraverseChildren(arrChildren, blnChecked){ 
&lt;br /&gt;
	var objChild; 
&lt;br /&gt;
	
&lt;br /&gt;
	for(var i = 0; i &amp;lt; arrChildren.length; i++){ 
&lt;br /&gt;
		objChild = arrChildren[i]; 
&lt;br /&gt;
		
&lt;br /&gt;
		// Set whether the node is checked or not
&lt;br /&gt;
		TreeView_SetChecked(objChild, blnChecked);
&lt;br /&gt;
		
&lt;br /&gt;
		// Call this function recursively on the children of the node
&lt;br /&gt;
		TreeView_TraverseChildren(objChild.getChildren(), blnChecked); 
&lt;br /&gt;
	} 
&lt;br /&gt;
}
&lt;br /&gt;

&lt;br /&gt;
/*
&lt;br /&gt;
	FUNCTION:	TreeView_TraverseParents
&lt;br /&gt;
	PURPOSE:	A recursive function that traverses through a node's
&lt;br /&gt;
				parents and checks them
&lt;br /&gt;
	PARAMS:		arrChildren - An array of nodes
&lt;br /&gt;
				blnChecked - Determines whether to check the nodes or not
&lt;br /&gt;
*/
&lt;br /&gt;
function TreeView_TraverseParents(objNode, blnChecked){
&lt;br /&gt;
	var objParent = objNode.getParent();
&lt;br /&gt;
	if(objParent != null){
&lt;br /&gt;
		
&lt;br /&gt;
		// If we are selecting a checkbox, then we want to check all the
&lt;br /&gt;
		// parent checkboxes as well			
&lt;br /&gt;
		if(blnChecked){
&lt;br /&gt;
			TreeView_SetChecked(objParent, true);
&lt;br /&gt;
		}
&lt;br /&gt;
		// Otherwise, we want to check to see if any of the siblings of the
&lt;br /&gt;
		// original node are also checked.  If they are all not checked,
&lt;br /&gt;
		// then we want to uncheck the parent.			
&lt;br /&gt;
		else{
&lt;br /&gt;
			var blnFlag = true; 
&lt;br /&gt;
			var arrSiblings = objParent.getChildren(); 	
&lt;br /&gt;
			for(var i = 0; i &amp;lt; arrSiblings.length ; i++){ 
&lt;br /&gt;
				if(TreeView_IsChecked(arrSiblings[i]))
&lt;br /&gt;
					blnFlag = false; 
&lt;br /&gt;
			}
&lt;br /&gt;
			
&lt;br /&gt;
			if(blnFlag)
&lt;br /&gt;
				TreeView_SetChecked(objParent, false);
&lt;br /&gt;
		}	
&lt;br /&gt;
		
&lt;br /&gt;
		// Call this function recursively on the parent
&lt;br /&gt;
		TreeView_TraverseParents(objParent, blnChecked);
&lt;br /&gt;
	}
&lt;br /&gt;
}
&lt;br /&gt;

&lt;br /&gt;
/*
&lt;br /&gt;
	FUNCTION:	TreeView_ReadyForPostback
&lt;br /&gt;
	PURPOSE:	Readies a tree for a postback
&lt;br /&gt;
	PARAMS:		objTreeView - A TreeView control
&lt;br /&gt;
*/
&lt;br /&gt;
function TreeView_ReadyForPostback(objTreeView){ 
&lt;br /&gt;
	if(objTreeView != null)
&lt;br /&gt;
		TreeView_CheckVals(objTreeView, objTreeView.getChildren());
&lt;br /&gt;
	else
&lt;br /&gt;
		alert(&amp;quot;ERROR: TreeView object is null&amp;quot;);
&lt;br /&gt;
}
&lt;br /&gt;

&lt;br /&gt;
/*
&lt;br /&gt;
	FUNCTION:	TreeView_CheckVals
&lt;br /&gt;
	PURPOSE:	Signals that nodes have been checked for the postback
&lt;br /&gt;
	PARAMS:		objTreeView - A TreeView control
&lt;br /&gt;
				arrChildren - An array of child nodes
&lt;br /&gt;
*/
&lt;br /&gt;
function TreeView_CheckVals(objTreeView, arrChildren){ 
&lt;br /&gt;
	var objChild; 
&lt;br /&gt;

&lt;br /&gt;
	// Loop through all the nodes		
&lt;br /&gt;
	for(var i = 0; i &amp;lt; arrChildren.length; i++){ 
&lt;br /&gt;
		objChild = arrChildren[i]; 
&lt;br /&gt;

&lt;br /&gt;
		// If the current value of the node is different from its initial
&lt;br /&gt;
		// value, then we want to queue the oncheck event
&lt;br /&gt;
		if(TreeView_IsChecked(objChild) != TreeView_GetInitCheckValue(objChild))
&lt;br /&gt;
			objTreeView.queueEvent(&amp;quot;oncheck&amp;quot;, objChild.getNodeIndex());
&lt;br /&gt;
			
&lt;br /&gt;
		// Call this function recursively the child nodes of the current
&lt;br /&gt;
		// node
&lt;br /&gt;
		TreeView_CheckVals(objTreeView, objChild.getChildren()); 
&lt;br /&gt;
	} 
&lt;br /&gt;
}
&lt;br /&gt;

&lt;br /&gt;
/*
&lt;br /&gt;
	FUNCTION:	TreeView_RefreshTree
&lt;br /&gt;
	PURPOSE:	??? - This was in the Vikram Bhardwaj original code... not
&lt;br /&gt;
				sure if its necessary or not, but I'm leaving it here...
&lt;br /&gt;
				uncomment the call to it in the TreeView_OnCheck method if
&lt;br /&gt;
				you need it
&lt;br /&gt;
	PARAMS:		objTreeView - A TreeView control
&lt;br /&gt;
*/
&lt;br /&gt;
/*
&lt;br /&gt;
function TreeView_RefreshTree(arrChildren){ 
&lt;br /&gt;
	var objChild; 
&lt;br /&gt;
	for(var i = 0; i &amp;lt; arrChildren.length; i++){ 
&lt;br /&gt;
		objChild = arrChildren[i]; 
&lt;br /&gt;
		TreeView_SetChecked(objChild, TreeView_IsChecked(objChild));
&lt;br /&gt;
		TreeView_RefreshTree(objChild.getChildren()); 
&lt;br /&gt;
	} 
&lt;br /&gt;
}
&lt;br /&gt;
*/
&lt;br /&gt;
&lt;/pre&gt;</description></item><item><title>How to use IE WebControls in VS 2008?</title><link>http://forums.asp.net/thread/2504595.aspx</link><pubDate>Tue, 22 Jul 2008 03:12:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2504595</guid><dc:creator>rafferty_uy</dc:creator><author>rafferty_uy</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/2504595.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=2504595</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I recently got my hands on an old ASP.Net 1.1 web application and I am trying to open it in my VS 2008 ide. I&amp;#39;m having problems getting it to compile because of the missing Microsoft.Web.UI.WebControls dll.&lt;/p&gt;&lt;p&gt;After much searching, I found out that I had to install IIS and download and install the IE Web Controls (http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=FAC6350C-8AD6-4BCA-8860-8A6AE3F64448&amp;amp;displaylang=en), please check if the link is correct.&lt;/p&gt;&lt;p&gt;But after installing and rebooting, I still do not see the assembly in my visual studio reference list.&lt;/p&gt;&lt;p&gt;What should I do next?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;&lt;p&gt;Rafferty&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>TreeView Drag and Drop</title><link>http://forums.asp.net/thread/402475.aspx</link><pubDate>Mon, 24 Nov 2003 19:01:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:402475</guid><dc:creator>gogoray</dc:creator><author>gogoray</author><slash:comments>6</slash:comments><comments>http://forums.asp.net/thread/402475.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=402475</wfw:commentRss><description>Hello,
&lt;br /&gt;

&lt;br /&gt;
I'm trying to figure out how to implement drag and drop in the new IE TreeView control for ASP.NET/C#.  It doesn't seem to be possible, can anyone confirm that for me? 
&lt;br /&gt;

&lt;br /&gt;
I'd like to have similar functionality to the web front end to Outlook...that's a web based tree that you can drag the nodes around. Is this possible? Help!
&lt;br /&gt;

&lt;br /&gt;
Thanks a million,
&lt;br /&gt;

&lt;br /&gt;
gogoray</description></item><item><title>Treeview control and TreeNodeXslSrc error</title><link>http://forums.asp.net/thread/3443300.aspx</link><pubDate>Tue, 06 Oct 2009 13:49:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3443300</guid><dc:creator>sakellariadis</dc:creator><author>sakellariadis</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3443300.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=3443300</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have a treeview control that works fine until I modify web.config to protect static files. Then I get the following error:&lt;/p&gt;
&lt;p style="PADDING-LEFT:30px;"&gt;Server Error in &amp;#39;/&amp;#39; Application.&lt;br /&gt;--------------------------------------------------------------------------------&lt;/p&gt;
&lt;p style="PADDING-LEFT:30px;"&gt;The XML loaded from TreeNodeSrc=XMLFile1.xml, TreeNodeXslSrc= did not contain the required outer &amp;lt;TREENODES&amp;gt; container.&lt;/p&gt;
&lt;p&gt;Hoping someone can help.&lt;/p&gt;
&lt;p&gt;To reproduce, I can use the following TreeView.ASPX file (from &lt;a href="http://www.15seconds.com/issue/030827.htm"&gt;http://www.15seconds.com/issue/030827.htm&lt;/a&gt;): &lt;/p&gt;
&lt;p style="PADDING-LEFT:30px;"&gt;&amp;lt;%@ Register TagPrefix=&amp;quot;iewc&amp;quot; Namespace=&amp;quot;Microsoft.Web.UI.WebControls&amp;quot; Assembly=&amp;quot;Microsoft.Web.UI.WebControls&amp;quot; %&amp;gt;&lt;br /&gt;&amp;lt;%@ Page Language=&amp;quot;vb&amp;quot; %&amp;gt;&lt;br /&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;HEAD&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;XMLIn&amp;lt;/title&amp;gt; &lt;br /&gt;&amp;nbsp; &amp;lt;/HEAD&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;body&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;form id=&amp;quot;Form1&amp;quot; method=&amp;quot;post&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;iewc:TreeView id=&amp;quot;TreeView1&amp;quot; runat=&amp;quot;server&amp;quot; TreeNodeSrc=&amp;quot;XMLFile1.xml&amp;quot;&amp;gt;&amp;lt;/iewc:TreeView&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/form&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;/p&gt;
&lt;p&gt;with the following XMLFile1.XML file:&lt;/p&gt;
&lt;p style="PADDING-LEFT:30px;"&gt;&amp;nbsp;&amp;lt;TREENODES&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;treenode text=&amp;quot;Parent1&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;treenode text=&amp;quot;Child-1a&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;treenode text=&amp;quot;Child-1b&amp;quot;/&amp;gt;&lt;br /&gt;&amp;lt;/treenode&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;treenode text=&amp;quot;Parent2&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;treenode text=&amp;quot;Child-2a&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;treenode text=&amp;quot;Child-2b&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/treenode&amp;gt;&lt;br /&gt;&amp;lt;/TREENODES&amp;gt;&lt;/p&gt;
&lt;p&gt;This&amp;nbsp;works fine, with standard web.config file. However, I want to change the site to protect static files,&amp;nbsp;so I add the following into web.config as the first lines within&amp;nbsp;the &amp;lt;system.webServer&amp;gt; tag:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;modules&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;remove name=&amp;quot;FormsAuthenticationModule&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;add name=&amp;quot;FormsAuthenticationModule&amp;quot; type=&amp;quot;System.Web.Security.FormsAuthenticationModule&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;remove name=&amp;quot;UrlAuthorization&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;add name=&amp;quot;UrlAuthorization&amp;quot; type=&amp;quot;System.Web.Security.UrlAuthorizationModule&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;remove name=&amp;quot;DefaultAuthentication&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;add name=&amp;quot;DefaultAuthentication&amp;quot; type=&amp;quot;System.Web.Security.DefaultAuthenticationModule&amp;quot; /&amp;gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;/modules&amp;gt;&lt;/p&gt;
&lt;p&gt;(For an explanation see &lt;a href="http://learn.iis.net/page.aspx/244/how-to-take-advantage-of-the-iis7-integrated-pipeline/"&gt;http://learn.iis.net/page.aspx/244/how-to-take-advantage-of-the-iis7-integrated-pipeline/&lt;/a&gt;) This new web.config file works exactly to protect static files throughout the website, but causes the treeview control to fail. Can anyone suggest a&amp;nbsp;workaround or know the cause?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Spyros&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>How to Pre-select a tab in Microsoft.Web.UI.WebControls tabstrip</title><link>http://forums.asp.net/thread/1094976.aspx</link><pubDate>Thu, 27 Oct 2005 06:19:08 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1094976</guid><dc:creator>xtreme</dc:creator><author>xtreme</author><slash:comments>4</slash:comments><comments>http://forums.asp.net/thread/1094976.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=1094976</wfw:commentRss><description>Is it possible to pre-select a tab when u call a page from a different page. For example i need to select the 3rd tab when the page loads.. </description></item><item><title>Scroll to selected node treeview</title><link>http://forums.asp.net/thread/854635.aspx</link><pubDate>Fri, 11 Mar 2005 17:31:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:854635</guid><dc:creator>apicazo</dc:creator><author>apicazo</author><slash:comments>14</slash:comments><comments>http://forums.asp.net/thread/854635.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=854635</wfw:commentRss><description>Hi,
&lt;br /&gt;

&lt;br /&gt;
I am trying to select a node in a treeview, but the problem is that the scroll does not go to the right position. Anyone knows how to do it?
&lt;br /&gt;

&lt;br /&gt;
Thanks in advance
&lt;br /&gt;

&lt;br /&gt;
</description></item><item><title>Modifying TreeView and TreeNode</title><link>http://forums.asp.net/thread/517255.aspx</link><pubDate>Wed, 24 Mar 2004 12:21:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:517255</guid><dc:creator>sjsuchic</dc:creator><author>sjsuchic</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/517255.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=517255</wfw:commentRss><description>For a few reasons, I want to modify the TreeNode code. I want to add an object member variable to it. So, I have created a new project (Microsoft.Web.UI.WebControls) and added all of the source files to the project. I am getting close to getting it compiled, but am running into a few errors that i don't understand.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
Duplicate 'AssemblyProduct' attribute
&lt;br /&gt;
Duplicate 'AssemblyCompany' attribute
&lt;br /&gt;
Duplicate 'AssemblyConfiguration' attribute
&lt;br /&gt;
Duplicate 'AssemblyCopyright' attribute
&lt;br /&gt;
Duplicate 'AssemblyCulture' attribute
&lt;br /&gt;
Duplicate 'AssemblyDescription' attribute
&lt;br /&gt;
Duplicate 'AssemblyTitle' attribute
&lt;br /&gt;
Duplicate 'AssemblyTrademark' attribute
&lt;br /&gt;
Duplicate 'AssemblyVersion' attribute
&lt;br /&gt;
Other languages may permit the internal virtual member 'Microsoft.Web.UI.WebControls.BaseChildNodeCollection.SetViewStateDirty()' to be overridden
&lt;br /&gt;
Other languages may permit the internal virtual member 'Microsoft.Web.UI.WebControls.Tab.Active.get' to be overridden
&lt;br /&gt;
Other languages may permit the internal virtual member 'Microsoft.Web.UI.WebControls.TabItem.Active.get' to be overridden
&lt;br /&gt;
Other languages may permit the internal virtual member 'Microsoft.Web.UI.WebControls.TabSeparator.Active.get' to be overridden
&lt;br /&gt;
Other languages may permit the internal virtual member 'Microsoft.Web.UI.WebControls.TreeNode.LowerPostBackEvent(string)' to be overridden
&lt;br /&gt;
Resources 'Resources\Microsoft.Web.UI.WebControls.Design.resources' and 'Resources\Microsoft.Web.UI.WebControls.Design.resx' have the same manifest resource name 'Microsoft.Web.UI.Web.UI.WebControls.Resources.Microsoft.Web.UI.WebControls.Design.resources'.
&lt;br /&gt;
Resources 'Resources\Microsoft.Web.UI.WebControls.resources' and 'Resources\Microsoft.Web.UI.WebControls.resx' have the same manifest resource name 'Microsoft.Web.UI.Web.UI.WebControls.Resources.Microsoft.Web.UI.WebControls.resources'.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
Any help would be appreciated. Thanks
&lt;br /&gt;
</description></item><item><title>TreeView Is Causing a Huge VIEWSTATE </title><link>http://forums.asp.net/thread/225440.aspx</link><pubDate>Wed, 21 May 2003 18:40:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:225440</guid><dc:creator>MLibby</dc:creator><author>MLibby</author><slash:comments>6</slash:comments><comments>http://forums.asp.net/thread/225440.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=225440</wfw:commentRss><description>Alright now, I'm concerned...
&lt;br /&gt;

&lt;br /&gt;
With every node I add to the TreeView it appears that the VIEWSTATE expodentially increases.  My tree is small but the size of the VIEWSTATE already has me worried.  The functionality of my TreeView requires VIEWSTATE but does anyone have ideas on how to minimize the size of the VIEWSTATE?
&lt;br /&gt;

&lt;br /&gt;
Mike</description></item><item><title>Loading IFrame when TabStrip Tab is clicked</title><link>http://forums.asp.net/thread/3276530.aspx</link><pubDate>Mon, 06 Jul 2009 10:20:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3276530</guid><dc:creator>imshikha</dc:creator><author>imshikha</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3276530.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=3276530</wfw:commentRss><description>&lt;p&gt;Hello all,&lt;/p&gt;&lt;p&gt;In our project I am using the TabStrip and Multipage functionality. It&amp;#39;s been applied in conventional manner, where all the tabs (Multipage with IFrames) are getting loaded at once when the main page is loaded.&lt;/p&gt;&lt;p&gt;But, with increasing data, the main page (on which this Tabstrip is applied) is taking way too long to load all the Frames of the Tab.&lt;/p&gt;&lt;p&gt;&lt;b&gt;I have 10 Tabs which contains different aspx screen and it takes between 4 - 5 minutes to load all the 10 aspx pages.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;I have been searching for two days on internet and found no solution.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Can anybody please help me how i can load the aspx pages only when a particular Tab of the TabStrip is clicked&lt;/b&gt;. (Please don&amp;#39;t tell me use the SelectionIdexChanged event - as i don&amp;#39;t want a postback).&lt;/p&gt;&lt;p&gt;If there is a way to do it asynchronously, that idea is also welcome.&lt;/p&gt;&lt;p&gt;Hoping for a positive reply soon.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks,&lt;br /&gt;Shikha&lt;br /&gt;&lt;/p&gt;</description></item><item><title>How do I find out which CheckBoxList item has been clicked?</title><link>http://forums.asp.net/thread/391776.aspx</link><pubDate>Wed, 12 Nov 2003 14:34:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:391776</guid><dc:creator>Charles Pugh</dc:creator><author>Charles Pugh</author><slash:comments>4</slash:comments><comments>http://forums.asp.net/thread/391776.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=391776</wfw:commentRss><description>How do I find out which CheckBoxList item has been clicked?
&lt;br /&gt;

&lt;br /&gt;
I have a CheckBoxList on my web form with AutopostBack set to true.
&lt;br /&gt;

&lt;br /&gt;
I have dynamically added a number of items to my checkboxlist, and now I want to pick up in CheckBoxList1_SelectedIndexChanged which checkbox the user has just checked or unchecked, how do I do this? Or is there better way?</description></item><item><title>Need help with a few errors</title><link>http://forums.asp.net/thread/3227615.aspx</link><pubDate>Fri, 12 Jun 2009 06:59:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3227615</guid><dc:creator>drendal</dc:creator><author>drendal</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3227615.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=3227615</wfw:commentRss><description>Hi guys,

I have been trying to install webcontrols onto a platform running on windows 2003 server sp3 but always seem to face this problem.

Halfway through installation, i get prompted

The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908.

and

An error occurred during the installation of assembly &amp;#39;Microsoft.Web.UI.WebControls,Version=&amp;quot;1.0.2.226&amp;quot;,Culture=&amp;quot;neutral&amp;quot;,PublicKeyToken=&amp;quot;31BF3856AD364E35&amp;quot;. HRESULT:0x80131700.


I&amp;#39;d be really grateful if anyone get provide some assistance. :)

My thanks in advance.

drendal.</description></item><item><title>Update for Tabstrip controls to .NET 2.0 ?</title><link>http://forums.asp.net/thread/1139128.aspx</link><pubDate>Mon, 12 Dec 2005 13:07:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1139128</guid><dc:creator>Stokholm</dc:creator><author>Stokholm</author><slash:comments>12</slash:comments><comments>http://forums.asp.net/thread/1139128.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=1139128</wfw:commentRss><description>&lt;p&gt;Is there an update for the tabstrip control to .NET 2.0&amp;nbsp; ???&lt;/p&gt;
&lt;p&gt;I can't figure out how to use the tabstrip in vs 2005. The tabs just return plain text&lt;/p&gt;
&lt;p&gt;--------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;VS2005 don't&amp;nbsp;use the standard&amp;nbsp;ISS to execute&amp;nbsp;web-applications, so I have tried to place the webctrl_&amp;nbsp;client folder in my project folder (c:\projects\) and also in my website folder&amp;nbsp;&amp;nbsp;(c:\projects\website) but it still don't work.&lt;/p&gt;
&lt;p&gt;I've also&amp;nbsp;tried to put&amp;nbsp;some code in my web.config file to change the path:&lt;/p&gt;&lt;font color=#0000ff size=2&gt;
&lt;p&gt;&amp;lt;&lt;font color=#800000 size=2&gt;configurationSections&lt;/font&gt;&lt;font color=#0000ff size=2&gt;&amp;gt;&amp;lt;&lt;/font&gt;&lt;font color=#800000 size=2&gt;section&lt;/font&gt;&lt;font color=#0000ff size=2&gt; &lt;/font&gt;&lt;font color=#ff0000 size=2&gt;name&lt;/font&gt;&lt;font color=#0000ff size=2&gt;=&lt;/font&gt;&lt;font size=2&gt;"&lt;/font&gt;&lt;font color=#0000ff size=2&gt;MicrosoftWebControls&lt;/font&gt;&lt;font size=2&gt;"&lt;/font&gt;&lt;font color=#0000ff size=2&gt; &lt;/font&gt;&lt;font color=#ff0000 size=2&gt;type&lt;/font&gt;&lt;font color=#0000ff size=2&gt;=&lt;/font&gt;&lt;font size=2&gt;"&lt;/font&gt;&lt;font color=#0000ff size=2&gt;System.Configuration.NameValueSectionHandler, System, Version=1.0.3300.0,Culture=neutral,PublicKeyToken=b77a5c561934e089&lt;/font&gt;&lt;font size=2&gt;"&lt;/font&gt;&lt;font color=#0000ff size=2&gt;/&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color=#800000 size=2&gt;configurationSections&lt;/font&gt;&lt;font color=#0000ff size=2&gt;&amp;gt;
&lt;p&gt;&amp;lt;&lt;font color=#800000 size=2&gt;MicrosoftWebControls&lt;/font&gt;&lt;font color=#0000ff size=2&gt;&amp;gt;&amp;lt;&lt;/font&gt;&lt;font color=#800000 size=2&gt;add&lt;/font&gt;&lt;font color=#0000ff size=2&gt; &lt;/font&gt;&lt;font color=#ff0000 size=2&gt;key&lt;/font&gt;&lt;font color=#0000ff size=2&gt;=&lt;/font&gt;&lt;font size=2&gt;"&lt;/font&gt;&lt;font color=#0000ff size=2&gt;CommonFiles&lt;/font&gt;&lt;font size=2&gt;"&lt;/font&gt;&lt;font color=#0000ff size=2&gt; &lt;/font&gt;&lt;font color=#ff0000 size=2&gt;value&lt;/font&gt;&lt;font color=#0000ff size=2&gt;=&lt;/font&gt;&lt;font size=2&gt;"&lt;/font&gt;&lt;font color=#0000ff size=2&gt;TabstripHandlers&lt;/font&gt;&lt;font size=2&gt;"&lt;/font&gt;&lt;font color=#0000ff size=2&gt; /&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color=#800000 size=2&gt;MicrosoftWebControls&lt;/font&gt;&lt;font color=#0000ff size=2&gt;&amp;gt;&lt;/font&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>how to make calls to functions that are in win app class file from the web page that is displayed in the webbrowser control of win application?</title><link>http://forums.asp.net/thread/3036175.aspx</link><pubDate>Wed, 25 Mar 2009 08:46:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3036175</guid><dc:creator>prad9</dc:creator><author>prad9</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3036175.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=3036175</wfw:commentRss><description>&lt;p&gt;Hi There,&lt;br /&gt;&lt;br /&gt;I have implemented webbrowser control in my windows application. I have some functions inthe class file. i want to use those functions from the webpage which is displayed in my windows app through webbrowser control..&lt;br /&gt;&lt;br /&gt;For example say... I have an standalone windows software. Which has a webbrowser control in the some form. Now i would like to create a webpage that can be displayed in the webbrowser control in win&amp;nbsp;app which has some buttons and textboxes. When i click on button in the webpage it should get the version number of that software...&amp;nbsp;&amp;nbsp; &lt;br /&gt;I have some other functions that are in the class file aswell.. but dont no how to call those functions from that webpage when a button is clicked or something like that.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Please help!!!! &amp;nbsp;I am a newbie...&lt;br /&gt;&lt;br /&gt;Thanks&lt;/p&gt;</description></item><item><title>Looping through TreeView Nodes?</title><link>http://forums.asp.net/thread/1903260.aspx</link><pubDate>Tue, 11 Sep 2007 16:35:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1903260</guid><dc:creator>andrea_johnson</dc:creator><author>andrea_johnson</author><slash:comments>4</slash:comments><comments>http://forums.asp.net/thread/1903260.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=1903260</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using the Microsoft Web Control.&amp;nbsp; I&amp;#39;m dynamically loading the control with data from the database where there are parent nodes and children nodes that could be up to 5 levels.&amp;nbsp; I have a Javascript function that executes when a parent node is checked to automatically select all the children below it.&amp;nbsp; Now I have to figure out a way to find out what nodes are selected so that I can process them properly.&amp;nbsp; The only way I see this happening is if I create a hidden variable and loop through all the nodes in the TreeView and add the nodes to the variable if they are checked.&amp;nbsp; However, I&amp;#39;m having a problem looping though the nodes.&amp;nbsp; The only information I found was the SelectNodeIndex property which just gives me the node that was selected.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is my TreeView Format:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Folder10&amp;nbsp;&amp;nbsp; &lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Folder1&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Item1&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;Folder2&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Item2&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;Folder 11&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Folder 3&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Item4&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Item5&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;Folder 12&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Folder4&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Folder5&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Folder6&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Item6&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;Folder 13&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Item7&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I need to find out which Item was selected in the TreeView.&amp;nbsp; So lets say that I&amp;nbsp;checked the Folder10 and Folder12 (all the subfolders and items are selected automatically).&amp;nbsp; Then I want the hidden variable to hold all the selected nodes in this format;&lt;/p&gt;
&lt;p&gt;Variable = Folder10_1_item1 (So the each parent node selected would start of with text &amp;quot;Folder&amp;quot; then the ID of the folder, then an &amp;quot;_&amp;quot; which means there is a child. Then the ID of the subFolder and then the text &amp;quot;item&amp;quot; and then the ID)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;So If I selected Folder10 and Folder12 in the TreeView, I would like the variable to hold this information&lt;/p&gt;
&lt;p&gt;Variable = Folder10_1_item1;Folder10_2_item2;Folder12_4_5_6_Item6&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Can someone please help?&amp;nbsp; How can I loop through each node of the treeview to achieve this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you&lt;/p&gt;</description></item><item><title>Microsoft Webcontrol tabstrip on Windows Server 2008</title><link>http://forums.asp.net/thread/3012969.aspx</link><pubDate>Tue, 17 Mar 2009 12:32:27 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3012969</guid><dc:creator>InNeedOfAssistance</dc:creator><author>InNeedOfAssistance</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3012969.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=3012969</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m trying to move webpages from a Windows Server 2003 (where everything worked correctly)&amp;nbsp;to Windows Server 2008. I&amp;#39;ve worked through most of the problems that have been encountered but am having a problem getting the Microsoft WebControl - TabStrip to work correctly. When the pages are viewed with IE the tabs&amp;nbsp;work fine but when viewed in Firefox the tabs are all smashed together. Has anyone encountered this problem and if so how did you handle the problem? We have a lot of pages that use these tabs so this is a high priority for me to get this working.&lt;/p&gt;
&lt;p&gt;Since these are public websites I do need to have the tabs work with all types of browsers. If the MS tabstrip no longer functions on the Windows Server 2008 platform, does anyone have a suggestion as to what could be used to replace the MS WebControl? These&amp;nbsp;are no budget, volunteer websites so I need something free.&lt;br /&gt;&lt;br /&gt;Thanks for taking the time to read this. Any suggestions would be greatly appreciated.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>IEWebControl and Terminal Server</title><link>http://forums.asp.net/thread/3001819.aspx</link><pubDate>Thu, 12 Mar 2009 09:09:01 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3001819</guid><dc:creator>aris7747</dc:creator><author>aris7747</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3001819.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=3001819</wfw:commentRss><description>&lt;p&gt;I have a web application that is hosted on a web server (Windows Server 2003). In order to improve the performance for the remote users, I am connecting to &lt;font size="2"&gt;Windows Terminal Server and running the application. The application is working but the IEWebControls are not. If i run the application from a pc&amp;nbsp;through the web server, the treeview is ok, if i connect through terminal server i have a problem.&lt;/p&gt;&lt;/font&gt;</description></item><item><title>TreeView problems: limited AutoPostBack / LinkButton in Node / multiple trees</title><link>http://forums.asp.net/thread/302466.aspx</link><pubDate>Thu, 07 Aug 2003 11:51:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:302466</guid><dc:creator>anon2anon</dc:creator><author>anon2anon</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/302466.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=302466</wfw:commentRss><description>hi folks, 
&lt;br /&gt;

&lt;br /&gt;
I have some problems regarding the TreeView control.
&lt;br /&gt;

&lt;br /&gt;
1. When AutoPostBack is set to true, all events (Expand/Collapse/SelectedIndexChange) cause a postback. But I only want the event SelectedIndexChange to be posted back, because Expand and Collapse needn't be handled on server. What should I do to disable Expand/Collapse to be posted back?
&lt;br /&gt;

&lt;br /&gt;
2. Can I add LinkButtons or other Web Controls into a TreeNode? When the user select a TreeNode, I want a command to be issued, NOT a url to be opened. To do this, I tried to embed LinkButtons to TreeNodes but TreeNode isn't inherited from System.Web.UI.Control so I can't write code like this:
&lt;br /&gt;

&lt;br /&gt;
LinkButton button = new LinkButton();
&lt;br /&gt;
... (configure the button)
&lt;br /&gt;
TreeNode node = new TreeNode();
&lt;br /&gt;
node.Controls.Add(button);
&lt;br /&gt;

&lt;br /&gt;
I think that if TreeNode inherits System.Web.UI.Control, it would be much more elegant than the current implementation.
&lt;br /&gt;

&lt;br /&gt;
3. there are multiple dynamically created TreeViews on a single page. When users select a TreeNode in one of these TreeViews, the event SelectedIndexChange only contains the index of new/old nodes, how could I know which TreeView the selected TreeNode belongs to?
&lt;br /&gt;
If the event SelectedIndexChange also contains the ID of the selected TreeNode (but it doesn't), the problem can be solved easily.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
btw: I had requested these new features in another post
&lt;br /&gt;
http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&amp;amp;PostID=300392</description></item><item><title>treeview error message</title><link>http://forums.asp.net/thread/2984987.aspx</link><pubDate>Thu, 05 Mar 2009 14:17:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2984987</guid><dc:creator>linus1884</dc:creator><author>linus1884</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/2984987.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=2984987</wfw:commentRss><description>&lt;p&gt;Parser Error
         body {font-family:&amp;quot;Verdana&amp;quot;;font-weight:normal;font-size: .7em;color:black;} 
         p {font-family:&amp;quot;Verdana&amp;quot;;font-weight:normal;color:black;margin-top: -5px}
         b {font-family:&amp;quot;Verdana&amp;quot;;font-weight:bold;color:black;margin-top: -5px}
         H1 { font-family:&amp;quot;Verdana&amp;quot;;font-weight:normal;font-size:18pt;color:red }
         H2 { font-family:&amp;quot;Verdana&amp;quot;;font-weight:normal;font-size:14pt;color:maroon }
         pre {font-family:&amp;quot;Lucida Console&amp;quot;;font-size: .9em}
         .marker {font-weight: bold; color: black;text-decoration: none;}
         .version {color: gray;}
         .error {margin-bottom: 10px;}
         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
        &lt;span&gt;
&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;am wondering if anyone can help with this error message&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Server Error in &amp;#39;/&amp;#39; Application.
&lt;/p&gt;&lt;hr /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;i&gt;Parser Error&lt;/i&gt; &lt;/h2&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;b&gt;Description: 
&lt;/b&gt;An error occurred during the parsing of a resource required to service this 
request. Please review the following specific parse error details and modify 
your source file appropriately. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Parser Error Message: &lt;/b&gt;Cannot 
create an object of type &amp;#39;Microsoft.Web.UI.WebControls.CssCollection&amp;#39; from its 
string representation &amp;#39;font-family: Verdana, Arial, Helvetica, sans-serif;&amp;#39; for 
the &amp;#39;DefaultStyle&amp;#39; property.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Source Error:&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;
&lt;table bgcolor="#ffffcc"&gt;

&lt;tr&gt;
&lt;td&gt;&lt;code&gt;&lt;/code&gt;&lt;pre&gt;Line 131:		&amp;lt;div id=&amp;quot;divInternal&amp;quot; visible=&amp;quot;false&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;
Line 132:			Please select a page to link to:
&lt;font color="red"&gt;Line 133:			  &amp;lt;p&amp;gt;&amp;lt;br&amp;gt;&amp;lt;ie:TreeView DefaultStyle=&amp;quot;font-family: Verdana, Arial, Helvetica, sans-serif;&amp;quot; id=&amp;quot;TreeView1&amp;quot; runat=&amp;quot;server&amp;quot; /&amp;gt;&amp;lt;/p&amp;gt;			 	  			 
&lt;/font&gt;Line 134:			  &amp;lt;p&amp;gt;&amp;lt;asp:Button ID=&amp;quot;btnSelectInternal&amp;quot; Text=&amp;quot;Next Step &amp;gt;&amp;gt;&amp;quot; OnClick=&amp;quot;Select_Internal&amp;quot; runat=&amp;quot;server&amp;quot;  /&amp;gt;&amp;lt;/p&amp;gt;
Line 135:		&amp;lt;/div&amp;gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;Source 
File: &lt;/b&gt;/edit/link.aspx&lt;b&gt; &amp;nbsp;&amp;nbsp; Line: &lt;/b&gt;133 &lt;br /&gt;&lt;br /&gt;
&lt;hr /&gt;
&lt;b&gt;Version Information:&lt;/b&gt;&amp;nbsp;Microsoft .NET Framework Version:2.0.50727.1433; 
ASP.NET Version:2.0.50727.1433 &lt;/font&gt;&amp;nbsp;</description></item><item><title>Changing the color of the Tab control</title><link>http://forums.asp.net/thread/2876831.aspx</link><pubDate>Mon, 19 Jan 2009 14:59:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2876831</guid><dc:creator>dudeSreeni</dc:creator><author>dudeSreeni</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/2876831.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=2876831</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can anyone advise me on how to change the color of the Tabstrips.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m currently doing it in the page_load event but the change is not taking effect.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Sree&lt;/p&gt;</description></item><item><title>Adding TreeNodes of TreeView Dynamically....</title><link>http://forums.asp.net/thread/812070.aspx</link><pubDate>Sat, 29 Jan 2005 02:49:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:812070</guid><dc:creator>alecd</dc:creator><author>alecd</author><slash:comments>4</slash:comments><comments>http://forums.asp.net/thread/812070.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=812070</wfw:commentRss><description>Hello everyone,
&lt;br /&gt;

&lt;br /&gt;
I've reached a dead end right now trying to get my TreeNodes to load dynamically. 
&lt;br /&gt;

&lt;br /&gt;
I start by adding a base node as a starting point.
&lt;br /&gt;

&lt;br /&gt;
&lt;pre&gt;
&lt;br /&gt;
        Dim trnBase As New TreeNode
&lt;br /&gt;
        trnBase.Text = &amp;quot;Search&amp;quot;
&lt;br /&gt;
        tvw_Search.Nodes.Add(trnBase)
&lt;br /&gt;
&lt;/pre&gt;
&lt;br /&gt;

&lt;br /&gt;
At this point there are no problems. trnBase has been added to tvw_Search. And the indexOf property of trnBase has been set to 0 (which will be used later in this subroutine).
&lt;br /&gt;

&lt;br /&gt;
Later on in this same subroutine I itterate through a DataTable containing my Nodes. Each itteration I check the ParentNodeIndex value. I then use that to get the ParentNode from the node collection of tvw_Search. Then I add the record as a node to the ParentNode.
&lt;br /&gt;

&lt;br /&gt;
&lt;pre&gt;
&lt;br /&gt;
        Dim intParentNodeIndex As Integer = drRow(4)
&lt;br /&gt;

&lt;br /&gt;
        Dim trnChildNode As New TreeNode
&lt;br /&gt;
        trnChildNode.Text = drRow(7)
&lt;br /&gt;

&lt;br /&gt;
        Dim trnParentNode As New TreeNode
&lt;br /&gt;
        trnParentNode = tvw_Search.Nodes.Item(intParentNodeIndex)
&lt;br /&gt;
        trnParentNode.Nodes.Add(trnChildNode)
&lt;br /&gt;
&lt;/pre&gt;
&lt;br /&gt;

&lt;br /&gt;
Now this is where I have trouble. The problem lies in the IndexOf property of the child nodes. When I added trnBase (the first set of code) trnBase gets assigned &amp;quot;IndexOf = 0&amp;quot;. However, the nodes that are added via the Database (the second set of code) are not assigned an IndexOf value.
&lt;br /&gt;

&lt;br /&gt;
In other words, in my DataTable the first 5 records have &amp;quot;ParentIndexOf = 0&amp;quot;. They are added to trnBase (indexOf = 0) no problem because trnBase was assigned an Index value of 0. The problem begins when I try to add nodes to these 5 new nodes. These 5 new nodes were never assigned an IndexOf value. Not only that, they aren't recognized in the tvw_Search nodes collection. When I do a &amp;quot;For each node in&amp;quot; tvw_Search, it only loops once for Node &amp;quot;trnBase&amp;quot;, even though the first 5 records were added to &amp;quot;trnBase&amp;quot;.
&lt;br /&gt;

&lt;br /&gt;
The only difference that could make any difference in my code is the last line in each set:
&lt;br /&gt;
&lt;pre&gt;
&lt;br /&gt;
tvw_Search.Nodes.Add()
&lt;br /&gt;

&lt;br /&gt;
trnBase.Nodes.Add()
&lt;br /&gt;
&lt;/pre&gt;
&lt;br /&gt;

&lt;br /&gt;
Is there something different I have to do as far as adding nodes to nodes to that of nodes to Trees? 
&lt;br /&gt;

&lt;br /&gt;
Thank you for any help.
&lt;br /&gt;

&lt;br /&gt;
Alec</description></item><item><title>Error adding node - Specified argument was out of the range of valid values. Parameter name: Index was out of range.  Must be non-negative and less than the size of the collection.</title><link>http://forums.asp.net/thread/2850413.aspx</link><pubDate>Tue, 06 Jan 2009 20:34:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2850413</guid><dc:creator>drewdog</dc:creator><author>drewdog</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/2850413.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=2850413</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have a recordset that I loop thru adding nodes to my treeview.&lt;/p&gt;&lt;p&gt;Well at around record # 123 out of 500 or so, I get this error adding child node :&lt;/p&gt;&lt;p&gt;&amp;quot;Specified argument was out of the range of valid values.&lt;br /&gt;Parameter name: Index was out of range.&amp;nbsp; Must be non-negative and less than the size of the collection.&amp;quot;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;The node I&amp;#39;m adding to exists, and I can&amp;#39;t see anything wrong w/ the data -&amp;nbsp; and it always gets hung up on the same record.&lt;/p&gt;&lt;p&gt;*And the same code has been used 122 times already w/out issue. *&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Any ideas ?&amp;nbsp; my code:&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp;&amp;#39;lastDivisionIndex = 1&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;#39;lastOfficeIndex = 1.0 &lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;b&gt;&amp;nbsp;item = New TreeNode&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; item.Text = dr(&amp;quot;employee_name&amp;quot;) &amp;#39;value=Borek, Jeffry&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; item.NodeData = dr(&amp;quot;app_user_id&amp;quot;) &amp;#39;value=118&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tv1.Nodes(lastDivisionIndex).Nodes(lastOfficeIndex).Nodes.Add(item) &amp;#39;error here, record 123 out of 500 records in recordset&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; item = Nothing&lt;/b&gt;&lt;br /&gt;</description></item><item><title>Online Editing of Word documents </title><link>http://forums.asp.net/thread/817703.aspx</link><pubDate>Fri, 04 Feb 2005 12:55:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:817703</guid><dc:creator>avinash_vanarse</dc:creator><author>avinash_vanarse</author><slash:comments>4</slash:comments><comments>http://forums.asp.net/thread/817703.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=817703</wfw:commentRss><description>Do any one have a idea as to how to implement ONLINE Editing for word documents ?
&lt;br /&gt;
My requirement is as follows :
&lt;br /&gt;
The user can edit a document(word or excel) downloaded from a web site(asp.net application) and on click of &amp;quot;Save&amp;quot;
&lt;br /&gt;
directly save the update on to the server.
&lt;br /&gt;

&lt;br /&gt;
Please advise.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
</description></item><item><title>IE WebControls ASP.Net 1.1</title><link>http://forums.asp.net/thread/2787562.aspx</link><pubDate>Fri, 05 Dec 2008 09:44:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2787562</guid><dc:creator>corsugus</dc:creator><author>corsugus</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2787562.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=2787562</wfw:commentRss><description>&lt;p&gt;Hello everybody, one question about a problem I have;&lt;/p&gt;
&lt;p&gt;I downloaded the Internet Explorer Web Controls bundle and I built the Microsoft.Web.UI.WebControls.dll, I put the dll in the bin directory of my application and added the reference to my project. I added the TreeView control to the&amp;nbsp;toolbar of my Visual Studio 2003 and I added the control to an .aspx page, everything appears to be correct in the designer but when I execute the application the TreeView doesn&amp;#39;t render properly, I put the webctrl_client folder in the root directory of my IIS (5.1) and the TreeView still doesn&amp;#39;t render properly.&lt;/p&gt;
&lt;p&gt;I built the dll with the csc.exe compiler of the framework v1.1.4322, my IIS uses the ASP.NET v1.1.4322, my OS is Windows XP, my browser is ie 6.&lt;/p&gt;
&lt;p&gt;A Workmate did the same process with the same configuration (I Think) and gets the TreeView rendering correctly.&lt;/p&gt;
&lt;p&gt;Anyone has an idea about what is happening with my TreeView Control????, Thank you in advance for any answer.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Treeview control's selectednodeindex property in javascript</title><link>http://forums.asp.net/thread/1130729.aspx</link><pubDate>Fri, 02 Dec 2005 21:10:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1130729</guid><dc:creator>sphatak</dc:creator><author>sphatak</author><slash:comments>6</slash:comments><comments>http://forums.asp.net/thread/1130729.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=1130729</wfw:commentRss><description>&lt;P&gt;I am trying to get the selectednodeindex property of the Microsoft Treeview webcontrol but having no luck. I am getting an error "undefined". Does that mean I cannot access this property using javascript? I want it in javascript to avoid postback. Is it possible to get the index of the node selected or the text selected in any other way on the client side?&lt;/P&gt;
&lt;P&gt;Here is my javascript code snippet: alert(document.all.iform.TreeViewCtrl.SelectedNodeIndex)&lt;/P&gt;
&lt;P&gt;Any help with me highly appreciated!&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>TreeView not loading</title><link>http://forums.asp.net/thread/1640321.aspx</link><pubDate>Wed, 28 Mar 2007 05:58:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1640321</guid><dc:creator>prabhuprabhu123</dc:creator><author>prabhuprabhu123</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/1640321.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=91&amp;PostID=1640321</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have installed the&amp;nbsp;IE Web control and&amp;nbsp;i not able to bring it up in my application.&lt;/p&gt;
&lt;p&gt;I am using the following code to include it&lt;/p&gt;
&lt;p&gt;&amp;lt;%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls" Assembly="Microsoft.Web.UI.WebControls"%&amp;gt;&lt;br /&gt;&amp;lt;%@ Page Language="vb" AutoEventWireup="false" Codebehind="Sample.aspx.vb" Inherits="Ss.Sample" %&amp;gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I got an error also when installing the Webcontrols as follows:&lt;/p&gt;
&lt;p&gt;src/treeview.cs: warning CS0618 you should pass Xml resolver to transform() method&lt;/p&gt;
&lt;p&gt;Can any one help me out&lt;span style="FONT-SIZE:12pt;FONT-FAMILY:'Times New Roman';mso-fareast-font-family:'Times New Roman';mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>