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

Forums / Developing with Sitefinity / ContentSelector articleID in v36.

ContentSelector articleID in v36.

4 posts, 0 answered
  1. Pierre
    Pierre avatar
    433 posts
    Registered:
    16 Feb 2006
    27 Mar 2009
    Link to this post
    Hi,

    Could you help to use one ContentSelector like old architecture to select the items and return the articleid. I have tried with Telerik.cms.engine.webcontrols but is no more found. 

    [WebEditor("Telerik.Cms.Engine.WebControls.ContentSelector, Telerik.Cms.Engine"), Category("Data")]  
            public virtual Guid ArticleID  
            {  
                get  
                {  
                    return this.articleId;  
                }  
                set  
                {  
                    this.articleId = value;  
                }  
            } 

    What are the others selectors allowed in the new architecture.

    Thanks, best regards.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    27 Mar 2009
    Link to this post
    Hi Pierre,

    Check out the code below:

            #region Properties  
     
        //content selector  
     
        [WebEditor("Telerik.Cms.Engine.WebControls.ContentSelector, Telerik.Cms.Engine")]  
        public Guid ContentID  
        {  
           get 
            {  
                return this.contentID;  
            }  
            set 
     
            {  
                this.contentID = value;  
            }  
        }  
     
        //declare Provider Name property  
     
        public virtual string ProviderName  
        {  
            get 
            {  
                return this.providerName;  
            }  
            set 
            {  
                this.providerName = value;  
            }  
        }  
        private Guid contentID;  
        private string providerName = string.Empty;
    #endregion 

    I hope this helps.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. Pierre
    Pierre avatar
    433 posts
    Registered:
    16 Feb 2006
    27 Mar 2009
    Link to this post
    Hi,
    Ok ,but I have same problem that have generated my initial demand

    Invalid resource name (Telerik.Cms.Engine.Resources.ControlTemplates.Backend.ContentSelector.ascx) for assembly (Telerik.Cms.Engine, Version=3.6.1870.120, Culture=neutralPublicKeyToken=dfeaee0e3978ac79) or empty template.   
     
    Some forget template?
    other soluition to add external template and map to?

    Regards
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    30 Mar 2009
    Link to this post
    Hello Pierre,

    It was a small bug that we figured out and fixed earlier today. The fix will be available from the SP.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Register for webinar
4 posts, 0 answered