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/ASPTreeView/cs_ev_process_add_remove.aspx

15 lines
852 B

<%@ Page Language="C#" Inherits="OboutInc.oboutAJAXPage" %>
<%@ Import Namespace="System.Data.OleDb" %>
<script language="C#" runat="server">
// implement a method with the same name as the event
// the arguments of the method must be the same ones we added on client-side using the AddParam function
public string OnAddNode(string parentId, string childId, string textOrHTML, string expanded, string image, string subTreeURL)
{
return "The OnAddNode event was executed server-side - the node with the id='" + childId + "' was added under the node with the id '" + parentId + "' The text of the newly created node is '" + textOrHTML + "'";
}
public string OnRemoveNode(string id)
{
return "The OnRemoveNode event was executed server-side - the node with the id='" + id + "' was removed";
}
</script>