DisableItemList problem

Last post 03-15-2006, 6:52 AM by mennisujay. 2 replies.
Sort Posts: Previous Next
  •  03-14-2006, 9:53 AM 17152

    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
  •  03-14-2006, 1:52 PM 17177 in reply to 17152

    Re: DisableItemList problem

    Sujay,
     
    Where does the "MergeCodes" come from?
     
    The version 4.0 is released in 2004.
     
    Is that possible for you to upgrade to the version 5.2?
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-15-2006, 6:52 AM 17232 in reply to 17177

    Re: DisableItemList problem

    Adam,
     
      Merge codes is a dropdown, which condigured in XML Config file like this
     
      <item type="dropdown" name="MergeCodes" RenderItemBorder="true" text="[[MergeCodes]]" />
     
     
     Regards
     Sujay
View as RSS news feed in XML