 |
|
 |
Hi,
Is it possible to wire up events that will be handled at the server? If so, could you give an example of how to do it?
Thanks,
Sean
|
|
|
|
 |
|
 |
Thank you.
|
|
|
|
 |
|
 |
I am now tring to use it to get data from data base in 3 levels
am very thank for your work
|
|
|
|
 |
|
 |
Cheers
|
|
|
|
 |
|
|
 |
|
|
 |
|
 |
I am using this TreeControl as left menu and want to show the pages on click of node right side in Masterpage.
it open the page but Treecontrol disappear after click on any node in masterpage.
Mahendra
|
|
|
|
 |
|
 |
Hi,
can you port this nice treeview to windows forms (.Net)
Greets form Germany
|
|
|
|
 |
|
 |
It is possible to be added double cklick event
thanks
|
|
|
|
 |
|
|
 |
|
 |
do you plan to add context menu?
|
|
|
|
 |
|
 |
+5
thanks, Bill
"Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844
|
|
|
|
 |
|
 |
Thanks Bill,
Yeah trying hard to put some time on it.
Check out http://www.codeproject.com/KB/cs/ObjectPoolManager.aspx
|
|
|
|
 |
|
 |
how to use Find metod?
Can you post some more help on syntax and if it is posibble to post some code to learn how to use this nice tool
thank you
|
|
|
|
 |
|
 |
thanks that you liked this control. Provided solution already contains examples to use this control.
Find method is for TreeNode which search value of node using Boolean value that specifies if to search in child nodes as well.
like
root.Find('NODE1', true);
will look for node with value NODE1 in all its children and child of those children and so on...
where as TreeView provides method FindNode which accpets the value path
treeView1.FindNode('Root\Note1');
this will look for Node1 under Root node.
Hope this will help you
|
|
|
|
 |
|
 |
thank you
i like u script
|
|
|
|
 |
|
 |
what type of object is root.Find('NODE1', true);
i try the next code
document.getElementById('txtFolder').value=drive.Find('D:',true);
but it dont work
|
|
|
|
 |
|
 |
its TreeNode. you need to do something like
var _drive = drive.Find('D:',true);
if(_drive != void 0)
document.getElementById('txtFolder').value = _drive.Text;
|
|
|
|
 |
|
 |
thank you
but this can find child node only in last edited note but not in all the tree
C:
c1
D:
d1
F:
f1
this can find only f1 but can not find d1 or c1
modified on Friday, November 5, 2010 3:25 AM
|
|
|
|
 |
|
 |
Yes. If your drive variable points to F drive it will only search for nodes within F drive childs.
To get c1 node you need can simply do
node = treeView.FindNode('C:\c1');
where:
treeView is your TreeView instance
\ is PathSeparator
node is TreeNode
if you don't have value path then you need to loop through al nodes like
var node;
for(var nodeIndex =0; nodeIndex<= treeView.Nodes.length-1; nodeIndex++){
if(treeView.Nodes[nodeIndex].Value == 'c1')
node = treeView.Nodes[nodeIndex];
else
node = treeView.Nodes[nodeIndex].Find('c1', true);
if(node)
break;
}
I haven't tested above code as I wrote it in reply post itself. See if it works as it is, try rectifying if possible
Check out my DI implementation @ http://www.codeproject.com/KB/cs/ObjectPoolManager.aspx
|
|
|
|
 |
|
 |
thank you
i tested it and it work fine
thank you
modified on Sunday, November 7, 2010 1:01 PM
|
|
|
|
 |
|
 |
Great work and I just have a following items you might would like to have a quick look at them for your next tree view release.
1. Create a wrapper class around the control, so that it becomes asp.net custom trees, by which it's fairly reusable for other projects/developers and easy for maintain in terms of code-base.
2. As for functionality-wise, it doesn't seem to support drag-n-drop and context menu. You might think about this in the new release.
3. Correct me from wrong. I didn't find the jquery, asp.net ajax or any other javascript library in your code so that couldn't help wondering why you not apply those javascript library as your Javascript utility. By leveraging that, it can reduce a lot of javascript codes in your control.
Cheers
|
|
|
|
 |
|
 |
Hey thx for rating 4...
Yeah I'm actually planning to add these functionality in next release.. hopefully time permits to make it soon
Regarding JQuery, Yes indeed its a g8 library and could save lots of lines of code writting. But as I said in the beginning I don't really like to rely on third party controls and libraries as long as there no special requirement.
That doesn't mean I hate them or like. I actually love how JQuery has shape up so far. My intend was actually to make control independent of any other implementations.
Thx again
BTW check out my Dependency Injection framework ObjectPoolManager at http://www.codeproject.com/KB/cs/ObjectPoolManager.aspx . Its still at initial phase. Hope you would like it too
|
|
|
|
 |
|
 |
This is exactly what I am looking for! Excellent! You got my rare 5!
|
|
|
|
 |
|
 |
Excellent control in Web Technology. Keep up the good work!!
|
|
|
|
 |