DisableItemList problem

  •  03-14-2006, 9:53 AM

    DisableItemList problem

     
      Here is a problem with CuteEditor version 4.0.0.2 which I am using.
     
        I am using the following code
     
                  cuteEditorEmail.DisableItemList = "InsertFlash, InsertMedia, InsertDocument";
     
      And I am populating a dropdownlist in CuteEditor with the following code
     
       toolControl = cuteEditorEmail.ToolControls["MergeCodes"];   
       if (toolControl != null) {      
        CuteEditor.RichDropDownList richDropDownList = (CuteEditor.RichDropDownList)toolControl.Control;       
       
                CuteEditor.RichListItem richListItem = richDropDownList.Items[0];       
               richDropDownList.Items.Clear();       
               richDropDownList.Items.Add("Numbers");       
               richDropDownList.Items.Add("1", "1");
               richDropDownList.Items.Add("2", "3");
               richDropDownList.Items.Add("3", "3");
               richDropDownList.Items.Add("4", "4");
           } 

             
       If I am using cuteEditorEmail.DisableItemList = "InsertFlash, InsertMedia, InsertDocument"; 
     
       this code the dropdown is not populating with the values. And I can only see "Numbers" string. If I am not using DisableListItem it is showing all values normally.
     
      Would you plz post me the solution for this problem.
     
    Regards
    Sujay
View Complete Thread