Adding Asp.net dropdown to toolbar

Last post 07-16-2010, 8:49 AM by Padmarajnv. 1 replies.
Sort Posts: Previous Next
  •  07-02-2010, 6:25 AM 62243

    Adding Asp.net dropdown to toolbar

    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..
     
  •  07-16-2010, 8:49 AM 62530 in reply to 62243

    Re: Adding Asp.net dropdown to toolbar

    Any comments from Cute technical support.
    Is anybody from Cute can confirm this is an issue in the editor or not?
    Or am I  missing something in code ?
     
     
View as RSS news feed in XML