richdropdown issues with non-IE browsers

Last post 12-29-2005, 6:59 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  12-27-2005, 3:32 PM 14182

    richdropdown issues with non-IE browsers

    where richdropdownlist concerns non-IE browsers
     
     
    (i) adding rich items (with embedded html) does not work

    (ii) the first list item rendered is the name of the list (i.e. the code snipets list  has an extra entry at the top with text "code snippets"
  •  12-29-2005, 6:59 PM 14249 in reply to 14182

    Re: richdropdown issues with non-IE browsers

    stuart,
     
    For Non-IE browsers, the richdropdownlist will render as normal dropdown.

    >>(i) adding rich items (with embedded html) does not work

    How did you add items to the dropdown?

    If you add items through Editing Dropdown Configuration file,  the format should be as followings:

        <item text="Some text">
                    <value>Some value</value>
                    <html>Some HTML Code</html>
         </item>

    If you add items programmatically ,  this is an example:

         CuteEditor.RichDropDownList dropdown=(CuteEditor.RichDropDownList)toolctrl.Control;
          //the first item is the caption
          CuteEditor.RichListItem richitem=dropdown.Items[0];
          //clear the items from configuration files
          dropdown.Items.Clear();
          //add the caption
           dropdown.Items.Add(richitem);
          //add text and value
          dropdown.Items.Add("Email signature","<h3>this is my email      signature</h3>");
          //add html and text and value
          dropdown.Items.Add("<img border=0 align='absMiddle' src='/data/contact.gif'/> Contact us","Contact us","[email protected]");     


    >>(ii) the first list item rendered is the name of the list (i.e. the code snipets list  has an extra entry at the top with text "code snippets"

    Strange...

    We don't have the problem with the following example:

    http://cutesoft.net/example/howto/RichDropDown/cs/customize_dropdown.aspx

    Can you post your code?



     

    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

View as RSS news feed in XML