ASTreeView 1.5.9 Release Notes

by jinweijie on September 3, 2010

In ASTreeView, two small issues have been fixed:

1. Fixed error when the depth of treeview exceeds 20.

2. Fixed a typo error with “checkbox”.

Download: http://www.astreeview.com/astreeviewdemo/Download.aspx

{ 25 comments… read them below or add one }

Aidan September 28, 2010 at 5:02 pm

Hi Jin,

I really like using your TreeView, but when I tried Sample17 on my local machine, I get an alert that there was an AJAX error.

However, Sample17 works fine on your site.

My code using similar method to Sample17 throws the same error.

Do I need to install anything extra to get AJAX to work?

jinweijie October 13, 2010 at 10:07 am

Hello Aidan,

Please find support here http://www.astreeview.com/astreeviewdemo/Support.aspx

Thank you.

Weijie

zzdfc October 22, 2010 at 11:00 am

你好!
非常棒的作品!
能推荐或开发一个DatePicker的asp.net服务器端控件吗?

Mar November 30, 2010 at 12:50 am

Hey,
I am just wondering is this control is compatible with .Net 4.0 framework and Visual studio 2010. If yes, please let us know so that we may consider buying support or entire source code. Please get back to me as soon as possible.

Thanks,

Marty Lau December 10, 2010 at 1:01 pm

I would like to use ASTreeview but I found the NodeDepth property is not working. It always return -1. How can I find the depth value like ASP Tree View

LetsLOL March 5, 2011 at 4:33 am

Tried all these commented and uncommented combinations ends up get
Microsoft JScript runtime error: ‘_rdc’ is undefined

Panel1.Controls.Clear();
ASTreeView asTreeView=new ASTreeView();
asTreeView.AutoPostBack = true;
ASTreeViewNode rootNode;
rootNode = asTreeView.RootNode;
rootNode=new ASTreeViewNode(“Project”,”Project”);
//asTreeView.RootNode.AppendChild(rootNode);
//rootNode=new ASTreeViewNode(“Projects”, “Projects”);
//asTreeView.RootNode.AppendChild(rootNode);
rootNode.AppendChild(new ASTreeViewNode(“TestCase”, “TestCase”));
rootNode.AppendChild(new ASTreeViewNode(“TestCase”, “TestCase”));

Panel1.Controls.Add(asTreeView);

ArcadeFire March 28, 2011 at 2:19 pm

Hi Wei
I like this control prtety much and would like to use this control (binary only) in one of my application and in future I would like to others to use my application to create websites. so here is the question
1. Can I publish my application as open source project though your control is free only for personal and non-commercial ?
2. If I publish application as close-source application for commercial purpose , can I buy only one license for my app and then distribute my application with your control freely ?

jinweijie March 29, 2011 at 3:52 pm

Hi Rocky,

We’ve talked on cnblogs. :)

Weijie

jinweijie June 15, 2011 at 12:46 am

Hello ArcadeFire,

Sorry for the late reply, I just saw your comments.

For your question:

1. yes.
2. yes.

thanks.

Weijie

kolia August 4, 2011 at 10:19 pm

how can i add/delete node in javascript wiyh my own buttons on the form

kolia August 6, 2011 at 12:33 am

one more thing when I add new node and have EnableFixedParentDragDrop=”true”
the new node not draggable absolutely

RLC September 29, 2011 at 5:05 am

Hi Jin,

We are very interested in utilizing your TreeView Control but, wonder if you might post a white paper on how to specifically deploy same in the Net 4.0 framework and Visual Studio 2010.

So as not to infringe on your time, the white paper should be no more than a step1, step2, step3…to ultimately deploy the TVControl in an application.

Thanks,
RLC

jinweijie September 29, 2011 at 7:07 am

Hello RLC,

Did you mean you need to use the ASTreeView in VS2010, .Net Framework 4.0?

In fact, it’s the same as VS2008, just a few steps:

1. add ASTreeView.dll as reference in your project.
2. copy the script files to /javascript folder (this is the default value of the files path, if you put the script files else where, you need to set the property “BasePath” in the control)
3. you may also add ASTreeView.dll to your toolbox then you can draganddrop ASTreeView onto your page. but this optional.
4. use ASTreeView like other controls.

Hope this answers your question.

Thanks.

Weijie

Will September 29, 2011 at 10:57 pm

Hi, I read ASTreeView documentation and that’s a good work, but I’m interested too in a GridView. Will you make a ASP.NET GridView component? Thanks.

jinweijie September 30, 2011 at 10:59 am
qingqi October 1, 2011 at 3:15 am

这个control功能确实很强大 很实用
但我用着好像有个bug 就是删除node后发现parentnode的childnodes数或者VirtualNodesCount没有变化呀?

jinweijie October 3, 2011 at 10:16 am

应该没有这个bug的。

qingqi October 4, 2011 at 11:52 pm

我刚才又试了一下这个http://www.astreeview.com/astreeviewdemo/ASTreeViewDemo5.aspx
删除子节点后virtual-nodes-count没有改变 reload页面后会变
另外这个virtual-nodes-count最初是手工赋值的 总觉得有点儿不对劲。。。

childnodes我忘了上次在哪儿用到的了。。。想起来再说。。。

qingqi October 6, 2011 at 5:48 am

真是不好意思又打搅 我现在用你的这个用的很频繁 想实现一些功能
http://www.astreeview.com/astreeviewdemo/ASTreeViewDemo5.aspx
里面不打开folder的情况下如果我选Add 一个node
会出现Loading # nodes… 这个能解决么?谢谢!

。。。如果你有一个报bug的地方可能更好一点

qingqi October 6, 2011 at 6:01 am

那个。。。我又来了

我还有一点建议 就是node被delete以后有可能需要更新parent node的一些值
如果能在deletedHandler(val)加一个deletedHandler(val, parentNodeId)会比较方便

希望博主参考

谢谢!

qingqi October 13, 2011 at 6:19 am

在demo5里面 我试着加上了 node add handler just like what your sample showed:
protected void btnAddPostBackTrigger_Click(object sender, EventArgs e)
{
var addedNodeId = txtAddedIDContainer.Text;
var node = tvCatalog.FindByValue(addedNodeId);
}
这个node是找不到的 博主可以自己试一下结果是node=null
这样新加进去的node无法显示 虽然中间会昙花一现
此问题我只好自己写个假node 但毕竟非常不好

delete有类似的问题

以前提到的问题更这个比较起来都算小问题 希望您能重视一下
谢谢!

TerryGu November 9, 2011 at 10:43 am

Hello jinweijie
请教一下,
1.astreeview在使用自定义图标时,如何实现在拖拽节点时,动态更新图标。例如拖拽后,原来的叶子节点变成非叶子节点了,需要更改它的图标。
2.还有一个麻烦的问题,如果需要实现根据不同的查询条件来查询绑定树的数据源,例如,页面放置几个checkbox,根据勾选设置查询条件。但这种情况在加载第一层节点的时候没问题,再点击节点展开其他子节点时,Render事件会重新load,将之前的查询条件全部清空了。就会出现数据不准的情况。另外,怎么找不到有clear node的方法?

Jon Ivar Hermannsson November 10, 2011 at 8:27 pm

Hello jinweijie,
I’m working on a project, where we would like to use the ASTreeView for commercial use. We were trying to buy the source code version on AlertPay, but we’ve had some difficulties with completing the transaction (neither Visa or Mastercard have worked in our case). Please contact me about this matter through e-mail – we like the solution and look forward to using it.

jinweijie November 10, 2011 at 9:33 pm

Hi Jon,

I’ve replied you by email.

Thanks.

Asha December 20, 2011 at 8:13 pm

Hi
I want to check whether I can update position also along with drag and drop..If possible please send some samples..its a requirement from my client.
Thanks
Asha

Leave a Comment

Previous post:

Next post: