You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OboutSuite/TreeDB/cs_TreeWithAutoNumberNodeID...

16 lines
689 B

<%@ Page Language="C#" CodeFile="cs_TreeWithAutoNumberNodeID.aspx.cs" Inherits="Tree"%>
<html>
<head runat="server">
<title>obout.com - Tutorial for AutoNumber for NodeID using ASPTreeView, AJAXPage and TreeDB</title>
<script type="text/javascript">
var oldID;
// function used for adding a node - it is triggered when the users clicks on the Add button
function addNode()
{
if(typeof tree_selected_id != "undefined" )
{
// if a node was selected (this will be the parent of the newly created node)
// and if the id and text of the node were entered, then the node will be created