+1-888-365-2779
Try Now
More in this section
Categories
Bloggers
Blogs RSS feed

Working with selectors Part Two: File manager selector, Page id selector, Rss feed selector

by Ivan Dimitrov

 

Here are some examples represents how to use File manager selector, Page id selector, Rss feed selector

 

File manager selector - you can select files from your project root. File manager selector allows you to upload new item to the root.

 

 // file manager selector. 
    [WebEditor("Telerik.FileManager.UrlWebEditor, Telerik.FileManager")]
 public virtual string SelectFile
    {
 get 
        {
 return this.selectFile;
        }
 set 
        {
 
 this.selectFile = value;
        }
    }
 
 private string selectFile;

 

FileSelector

                                              File manager selector.

 

Page id selector - using this selector you can grab an id of existing page.

 

 //select page id selector 
    [WebEditor("Telerik.Cms.Web.UI.CmsHyperLinkUrlWebEditor, Telerik.Cms")]
 public string TargetCmsPageID
    {
 get 
        {
 return this.targetCmsPageID;
 
        }
 
 set 
        {
 this.targetCmsPageID = value;
        }
    }
 private string targetCmsPageID;
 

 

target_cms_page_id 

    pageID

                                                            CmsPageID.

 

Rss  navigate feed selector - it is the same selector that is used in Rss Fees control from the toolbox.

 

 //rss selector 
    [WebEditor("Telerik.Rss.WebControls.RssFeedSelector, Telerik.Rss")]
 public new string RssNavigateUrl
    {
 get 
        {
 return this.rssnavigateUrl;
        }
 set 
        {
 this.rssnavigateUrl = value;
        }
    }
 private string rssnavigateUrl;

 

 RssSelector

                                                      Select Rss Feed.

4 comments

Leave a comment
  1. Leroy Jenkins Jan 07, 2009
    Why doesn't the single forum module work properly?
  2. Georgi Jan 11, 2009
    Hi Leroy,

    The control itself is working, but it should be tied with the rest of the Forum controls.
  3. iVillageIdiot Jul 11, 2009
    Can this control expoxse a 'SingleItem' page from a NewsView or EventsView?  It would be extremely helpful if it could.
  4. Utah Dentist Dec 13, 2012
    I am glad that you are currently working on it now.. I was actually waiting for it because I am having problems with it right now.

    Leave a comment