ASTreeView 1.5.9 Release Notes
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
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
ASTreeView supports context menu(right click the node). The default context menu items are Add, Edit, Delete. If you want to add your own context menu item, you can read on and follow the instructions. The result will look like: And it will execute some javascript for the current node. Implementation steps: 1. Add tree-wide context… Read More »
One of the ASTreeView user submitted a request that he wants to get the selected and checked nodes on the client side. The result will looks like: Here’s the solution: Get the selected node 1. Create a container for holding the text.( of course you need to change it to match your situation): <asp:TextBox ID=”txtSelectedNode”… Read More »
A lot of people ask how to do a post back and save the drag and drop node to db after user’s drag and drop action. Here are the steps: 1. Add two textboxes to the page to hold the node values and a server side button to trigger the PostBack, wrap with a hidden… Read More »
The latest version of ASTreeView is 1.5.8. In this new version, some small bugs have been fixed and several new features have been added: New APIs: SelectNode – select a node by node value CheckNodes – check nodes by node values UnCheckNodes - uncheck nodes by node values FindByValue – find node by node value,… Read More »
How to do a postback after a node being deleted? Here’s the steps: 1. Set the OnNodeDeletedScript property of ASTreeView. OnNodeDeletedScript=”deletedHandler(val)” 2. Add a hidden button and a textbox(both are server side control) to the page: <div style=”display:none;”> <asp:Button ID=”btnPostBackTrigger” runat=”server” OnClick=”btnPostBackTrigger_Click” /> <asp:TextBox ID=”txtIDContainer” runat=”server”></asp:TextBox> </div> 3. Implement the deletedHandler javascript method: <script type=”text/javascript”>… Read More »
There’s a request that to disable the checkbox PostBack while the AutoPostBack properties is set to true. Because for node selection, we want to enable the PostBack. By default, if we set the AutoPostBack properties of ASTreeView, both the checkbox and selection will be effected. So here we need a little tricky to achieve that:… Read More »
I received several emails with questions about how to postback by clicking the nodes while the ASTreeView is using dynamic loading. Because the dynamic loading, we cannot use the way in sample 2. That’s due to the nodes are generated on the fly, so the server side does not know the events binding to the… Read More »
ASTreeView has been updated to version 1.5.3. In the new version, developer can have more flexibility to control Add/Edit/Delete/DragDrop with customized javascript handler. In addition, from 1.5.3, two versions of ASTreeView will be available, one for .Net Framework 2.0(build with Ajax Extension 1.0), one for .Net Framework 3.5(build with Ajax Extension 3.5 ). Samples also… Read More »
ASTreeView has been updated to version 1.5.2, the main BIG improvement is that a new NodeType – TextNode has been added. With TextNode, you can set two links in one node which is not possible in previous versions. Even javascript can be the content of the nodes in a TextNode. New Features: 1. TextNode type… Read More »