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_TreeWithAdditionData.aspx

16 lines
847 B

<%@ Page Language="C#" CodeFile="cs_TreeWithAdditionData.aspx.cs" Inherits="Tree"%>
<html>
<head runat="server">
<title>obout.com - Tutorial for Addition Information using ASPTreeView, AJAXPage and TreeDB</title>
<script type="text/javascript">
// 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" && document.getElementById("sNewNodeId").value
&& document.getElementById("sNewNodeText").value
&& document.getElementById("Address").value && document.getElementById("Age").value
&& document.getElementById("Birthday").value )
{
// if a node was selected (this will be the parent of the newly created node)