need help

  •  09-27-2006, 3:55 AM

    need help

     
    if(Editor2.ToolControls["insertcustombutonhere"]!=null)
    {
     Control container=Editor2.ToolControls["insertcustombutonhere"].Control;
     CuteEditor.RichDropDownList dropdown=new CuteEditor.RichDropDownList(Editor2);
     
     
    dropdown.Attributes["onchange"]="CuteEditor_DropDownCommand(this,'pasteHTML')"; dropdown.CssClass="CuteEditorDropDown";
    dropdown.Items.Add("[[NUM]]","");
    dropdown.RichHideFirstItem=true;
    dropdown.Items.Add(http://www.asp.net/);
    container.Controls.Add(dropdown);
     
      if(!IsPostBack)
    {
    dropdown.Items.Add("Microsoft",http://www.microsoft.com/);
    dropdown.Items.Add("Microsoft",http://www.Ascent.com/);
     dropdown.Items.Add("Microsoft",http://www.123.com/);
     dropdown.Items.Add("CuteSoft","*CuteSoft*",http://www.cutesoft.net/);
     }
    }
     
     
     with this code i am unable to see it in toolbar help me
     
    Actually
     
    i want a custom dropdownlist..  in tthe example is given like above i tried but not find the dropdown in toolbar
     
     
     
View Complete Thread