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

Forums / Developing with Sitefinity / PagesSelector Custom Functionality

PagesSelector Custom Functionality

4 posts, 0 answered
  1. mcpdinkansas
    mcpdinkansas avatar
    102 posts
    Registered:
    22 Mar 2007
    09 Apr 2010
    Link to this post
    I am using the ButtonSelector UserControl on one of my custom built UserControls. I am pointing the ButtonSelector to the PagesSelector UserControl.

    I then point the AssociatedControls to a TextBox to save the Selected Page.

    All works great.

    I however need some custom functionality not provided, and need help/direction to accomplish. When the User selects a page, I need to grab the Page Name and place in a separate TextBox; Simliar to how the selected page url gets placed in the TextBox I have defined in my AssociatedControls.

    Any help would be great!

    Thanks
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    09 Apr 2010
    Link to this post
    Hello mcpdinkansas,

    The button selector has a property AssociatedControls where you can specify more than one ID of the control. Thus, you can set the value to several controls at the same time. You could separate the IDs with comma ( , )

    Greetings,
    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.
  3. mcpdinkansas
    mcpdinkansas avatar
    102 posts
    Registered:
    22 Mar 2007
    09 Apr 2010
    Link to this post
    Hey Ivan,

    This will only show the same Page URL ([Sitefinity]{Guid}) text. I need the Page Name that has been selected.

    Thanks
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    09 Apr 2010
    Link to this post
    Hi mcpdinkansas,

    You have to get the PageID and pass it to the CmsManager. You could use WebService with js or create PropertyEditorDialog

    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.
Register for webinar
4 posts, 0 answered