Page selector in designer

Posted by Community Admin on 03-Aug-2018 11:40

Page selector in designer

All Replies

Posted by Community Admin on 02-Dec-2010 00:00
Can I in any way reuse the page selector in designer mode of custom controls?

Posted by Community Admin on 02-Dec-2010 00:00
Hi Daniel,

You can use the selector as a property

[UrlProperty, WebEditor("Telerik.Cms.Web.UI.DhlUrlEditor, Telerik.Cms"), Bindable(true), WebSysDescription("HyperLink_NavigateUrl"), Category("Navigation"), DefaultValue("")]
   public string NavigateUrl
   
       get
       
           return this.navigateUrl;
       
       set
       
           this.navigateUrl = value;
       
   
 
   /// <summary>Gets or sets ID to a SitefinityPage</summary>
   /// <value>Sitefinity Page ID.</value>
   [TypeConverter("Telerik.Cms.Web.UI.GuidTypeConverter, Telerik.Cms"), WebEditor("Telerik.Cms.Web.UI.DhlIdEditor, Telerik.Cms"), Category("Navigation"), DefaultValue(typeof(Guid), "00000000-0000-0000-0000-000000000000")]
   public Guid PageId
   
       get
       
           return this.pageId;
       
       set
       
           this.pageId = value;
       
   


All the best,
Ivan Dimitrov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Posted by Community Admin on 02-Dec-2010 00:00
I have a protection level issue with the WebSysDescription("HyperLink_NavigateUrl")
Posted by Community Admin on 02-Dec-2010 00:00
Hi Daniel,

Sorry the code is for Sitefinity 3.x. You cannot use it in Sitefinity 4.0. We have not implemented WebEditors that you can use directly as a part of a public property in "Advanced" section of a control. You have to create a control designer and call the webeditor from it. You can take a look at How to create a widget tutorial and this sample

Regards,
Ivan Dimitrov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
This thread is closed