Re: drop down customization not working

  •  07-06-2010, 4:00 AM

    Re: drop down customization not working

    Hi ,
     
    I added a Asp.net dropdown control to the tool bar.
     
    The following code is used for that.
     
    CuteEditor.ToolControl subject = edtSubject.ToolControls["insertcustombutonhere"];
    if (subject != null)
    {
                    System.Web.UI.WebControls.DropDownList ddlReferenceSubject = new System.Web.UI.WebControls.DropDownList();
                   for (int intCount = 0; intCount <= 3; intCount++)
                    {
                        ListItem lst = new ListItem("Test" + intCount.ToString(), intCount.ToString());
                        ddlReferenceSubject.Items.Add(lst);
                    }
                    subject.Control.Controls.Add(ddlReferenceSubject);
     }
     
    This works fine IE , but in mozilla , if I select an item from the dropdown , it is not getting selected.
    This issue happens in mozialla
     
    When I ran the firebug and examined the properties of the dropdown,
     
    <select class="CuteEditorDropDown" 
    style="font-family: Comic sans; font-size: smaller; width: 600px;"
     
    name="ctl00$MainContent$edtSubject$ctl00$ctl22"
     unselectable="on" 
    tabindex="-1"
    >
     
    There is style as "unselectable="on" 
     
    Any thought on this..
View Complete Thread