/// *******************************************************************************************************
 /// <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);
     }
 }
 /// *******************************************************************************************************
 /// <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);
     }
 }
Esempio n. 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();
        }