| |
|
Tutorial 1 - how to use the 3 ASP.NET controls
together (ASPTreeView, AJAXPage and Tree_DB)
|
| | |
Introduction
This tutorial will explain how to add, edit, remove nodes from an ASPTreeView control and also how to
update the level of the nodes (after a drag and drop) using obout's latest ASP.NET controls:
ASPTreeView, AJAXPage and Tree_DB.
The AJAXPage web component is used for sending data to the server without reloading the page
and the Tree_DB web component is used to process the data server-side and update the database.
This example can be downloaded from here
|
| | |
Installing components
First you need to install the ASPTreeView, AJAXPage and Tree_DB ASP.NET controls.
Please take a look at the following pages for more information:
- ASPTreeView
- AJAXPage
- Tree_DB
|
| | |
Files used
-
Tree.aspx - this is the main file - here we create an ASPTreeView ASP.NET control and also
a couple of html controls(two buttons - for adding/removing nodes, and two textboxes)
-
Tree.aspx.cs - the code behind file for Tree.aspx - it is used to load the treeview
from a database (an Access database in our example - TreeNodes.mdb)
-
TreeEvents.aspx - the data will be sent to this page for processing
-
TreeEvents.aspx.cs - the code behind file for TreeEvents.aspx - here we make all the
server-side processing
-
TestConnection.aspx - page for testing if the connection is set up correctly
-
TreeNodes.mdb- the Access database containing the information about the ASPTreeView's nodes
Important: To be able to update the database, the ASP.NET Machine Account must have
"write" rights on the database (here are the detailed instructions regarding this issue)
Please, ask any questions support@obout.com. See How-To page
|
| | |
| "THANK YOU AGAIN!!!! IT WORKS!!!!
Anyway, I don't know how much to thank you for your quick and efficient support.
I've been computer developer for almost 8 years now, and I have never found
a company with a support so fast and effective.
My real compliment to you and your company." |
Alessandra Monica |
|
| | |
|
|
|
|