1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / HTMLContentEditor WebEditor

HTMLContentEditor WebEditor

3 posts, 0 answered
  1. Pavliks
    Pavliks avatar
    68 posts
    Registered:
    06 Apr 2010
    23 Jul 2009
    Link to this post

    Hi,
    I have a user control that I created that has a property using the HtmlContentEditor, below is how I implemented it. It works great, the user edits the control and clicks on the button for the ProductFeatures property and the RadEditor is displayed for them to enter content but when they go to insert an image the image dialog shows up behind the property page, the same for links and documents as well.

    Is there an easy way to have these dialogs display in front of the property page, or do I need to implement the solution differently?

    Thanks,

    public partial class Sitefinity_UserControls_Custom_ProductRotator : System.Web.UI.UserControl, Telerik.Cms.IContentContainer  
    {  
        [Browsable(false)]    
        public object Content    
        {    
            get    
            {    
                return false;    
            }    
            set    
            {    
                ;    
            }    
        }    
        [Browsable(false)]    
        public string ProviderName    
        {    
            get    
            {    
                return "";    
            }    
            set    
            {    
                ;    
            }    
        }    
     
       [Category("Product Content")]  
       [DisplayName("Product Features")]      
        [Telerik.Cms.Web.UI.WebEditor("Telerik.Cms.Engine.WebControls.HtmlContentEditor, Telerik.Cms.Engine")]    
        [TypeConverter(typeof(StringConverter))]    
       public string ProductFeatures  
       {  
           get { return litFeatures.Text; }  
           set { litFeatures.Text = value; }  
       }  
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    24 Jul 2009
    Link to this post
    Hi S. Webb,

    Open ~/Sitefinity/Admin/Themes/Default/PropertyDlg.css and add the class below:

    div.RadWindow 
        z-index: 15007 !important; 

    This will fix the issue.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Pavliks
    Pavliks avatar
    68 posts
    Registered:
    06 Apr 2010
    27 Jul 2009
    Link to this post
    Thanks Ivan, that's great.

    Steve
Register for webinar
3 posts, 0 answered