예제 #1
0
 /// *******************************************************************************************************
 /// <summary>
 ///		Fires the ChildClick event
 /// </summary>
 /// <param name="e">EventArguments to pass in the Event</param>
 /// *******************************************************************************************************
 protected void OnClick(TaxonomyTreeControlEventArgs e)
 {
     if (null != this.Click)
     {
         this.Click(this, e);
     }
 }
예제 #2
0
 /// *******************************************************************************************************
 /// <summary>
 ///		Code to execute when a ChildClick event is Captured.
 /// </summary>
 /// <param name="sender">object that triggered the event</param>
 /// <param name="e">EventArguments for this Event.</param>
 /// *******************************************************************************************************
 private void TaxonomyTreeItemControl_ChildClick(object sender, TaxonomyTreeControlEventArgs e)
 {
     if (BubbleEvents)
     {
         this.OnClick(e);
     }
 }
예제 #3
0
        private void TaxonomyTreeControl_Click(object sender, TaxonomyTreeControlEventArgs e)
        {
            //reset the page index on the categoryChooser
            this.categoryChooser.CurrentPageIndex = 0;

            //set the relevent info from the selected taxonomy item
            this.taxonomyID = e.Item.TaxonomyID.ToString();
            this.keyName    = e.Item.KeyName;
            this.keyValue   = (("__r00t__" == e.Item.KeyValue)?"":e.Item.KeyValue);

            //populate the data
            this.PopulateTaxonomyTree();
            this.PopulateCategoryChooser();
        }