Please, ask any questions support@obout.com
1. How to add a reference to Tree_DB in VS?
Go to toolbar menu Project > Add Reference > Click button 'Browse' >
> Find obout_Tree_DB.dll > Click 'Open' > Click OK
2. How to run examples? I am new to web programming.
First install the components:
Tree_DB,
ASPTreeView and
AJAXPage
Put folder
Examples anywhere on your web site.
For Visual Studio 2003
The 'VS2003' folder contains two folders -
CSharp and
VBNET.
> Create new project in VS2003
> Add the files from the folder VS2003/
CSharp/DragAndDrop or
VS2003/
VBNET/DragAndDrop to your project.
> Add references to
Tree_DB,
ASPTreeView and
AJAXPage
(see
How to add a reference to Tree_DB in VS?)
> Right click the
Tree.aspx file from the DragAndDrop folder
and select
Set As Start Page
> Run the project (F5 or CTRL+F5)
For Visual Studio 2005
The 'VS2005' folder contains two projects -
CSharp and
VBNET.
Open these folders as websites from VS2005:
> File > Open > Website >
> Select folder VS2005/
CSharp or VS2005/
VBNET and click Open
> Right click the
Tree.aspx file from the DragAndDrop folder
and select
Set As Start Page
> Run the project (F5 or CTRL+F5)
3. When I run the examples, the page loads fine, but the changes
are not updated in the database
You have to give "write" rights to the ASP.NET Machine Account user.
To do this, right-click on the TreeNodes.mdb file, Properties and click the
Security tab. If the ASP.NET Machine Account isn't displayed in the users list,
you have to add it manually:
- click Add->Advanced->Find now and from the list with all the possible users,
select the ASP.NET Machine Account user and then assign to it the "Write" right.
Also, make sure that the TreeNodes.mdb isn't marked Read-Only
4. How to test connection?
Each project from the zip file has a file named
TestConnection.aspx
Open this page in the browser and you'll get a message:
-
Connection is OK - if the connection setup was correct
-
Any other message - something is wrong with your connection setup
- information about how to fix the problem will be displayed
See also
How to set up the connection
5. Does Tree_DB work with classic ASP too, or only with ASP.NET?
Yes, the Tree_DB component works also with Classic ASP. See
how to install for classic ASP
6. How to change file for processing events?
The
TreeEvents.aspx.cs (.vb) file from the zip with examples makes
the server-side processing. You can edit this file to add custom server-side code
or to handle other events (which you enable using the
EventList property of the tree)
If you need to send more parameters to the server, edit the
ob_events_xxxx.js file
(located in the tree2/script folder) and use the
ob_post.AddParam method
to add parameters for all the events you need.
ob_post is a client-side object created automatically when the Page class inherits from
AJAXPage
See the
Server-side events and
Client-side events tutorials.
Please, ask any questions support@obout.com