C# Class Goldtect.ASTreeViewDemo.DnDSaveDB

Inheritance: PageBase
Show file Open project: jinweijie/Goldtect.ASTreeViewSamples

Protected Properties

Property Type Description
Head1 global::System.Web.UI.HtmlControls.HtmlHead
aslTreeOne global::System.Web.UI.WebControls.Literal
aslTreeTwo global::System.Web.UI.WebControls.Literal
astvMyTree1 global::Goldtect.ASTreeView
astvMyTree2 global::Goldtect.ASTreeView
btnSaveDragDrop global::System.Web.UI.WebControls.Button
form1 global::System.Web.UI.HtmlControls.HtmlForm
sm global::System.Web.UI.ScriptManager
txtNodeTreeName global::System.Web.UI.WebControls.TextBox
txtNodeValue global::System.Web.UI.WebControls.TextBox
txtParentTreeName global::System.Web.UI.WebControls.TextBox
txtParentValue global::System.Web.UI.WebControls.TextBox
upPanel2 global::System.Web.UI.UpdatePanel

Protected Methods

Method Description
Page_Load ( object sender, EventArgs e ) : void
btnSaveDragDrop_Click ( object sender, EventArgs e ) : void

Private Methods

Method Description
BindData ( ) : void
ChangeParent ( string tableName, int nodeId, int parentId ) : void
GenerateTree1 ( ) : void
GenerateTree2 ( ) : void
ManageNodeTreeName ( ) : void
MoveNode ( string sourceTableName, string targetTableName, int nodeId, int parentId ) : void

Method Details

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnSaveDragDrop_Click() protected method

protected btnSaveDragDrop_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

Head1 protected property

Head1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlHead Head1
return global::System.Web.UI.HtmlControls.HtmlHead

aslTreeOne protected property

aslTreeOne control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal aslTreeOne
return global::System.Web.UI.WebControls.Literal

aslTreeTwo protected property

aslTreeTwo control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Literal aslTreeTwo
return global::System.Web.UI.WebControls.Literal

astvMyTree1 protected property

astvMyTree1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Goldtect.ASTreeView astvMyTree1
return global::Goldtect.ASTreeView

astvMyTree2 protected property

astvMyTree2 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Goldtect.ASTreeView astvMyTree2
return global::Goldtect.ASTreeView

btnSaveDragDrop protected property

btnSaveDragDrop control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button btnSaveDragDrop
return global::System.Web.UI.WebControls.Button

form1 protected property

form1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlForm form1
return global::System.Web.UI.HtmlControls.HtmlForm

sm protected property

sm control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.ScriptManager sm
return global::System.Web.UI.ScriptManager

txtNodeTreeName protected property

txtNodeTreeName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtNodeTreeName
return global::System.Web.UI.WebControls.TextBox

txtNodeValue protected property

txtNodeValue control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtNodeValue
return global::System.Web.UI.WebControls.TextBox

txtParentTreeName protected property

txtParentTreeName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtParentTreeName
return global::System.Web.UI.WebControls.TextBox

txtParentValue protected property

txtParentValue control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtParentValue
return global::System.Web.UI.WebControls.TextBox

upPanel2 protected property

upPanel2 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.UpdatePanel upPanel2
return global::System.Web.UI.UpdatePanel