For any questions
send us a support request.
1. 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.mdf 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.mdf isn't marked Read-Only
2. How to test connection?
The project from the zip file has a file named
cs_TestConnection.aspx/
vb_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
3. How to change file for processing events?
The
cs_(vb_)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
AJAX Page
For any questions
send us a support request.