More in this section
Forums / Developing with Sitefinity / Removing link from page selector with an event handler

Removing link from page selector with an event handler

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Jason
    Jason avatar
    0 posts
    Registered:
    28 Nov 2016
    14 Feb 2017
    Link to this post

    I have a sfPageField control on my widget designer to select a page to redirect to upon a button press. With that, in the designer, I want to give the user the option to remove the link. However, in the event handler for the button press, I can't quite figure out how to clear out the PageField control of the link. What properties would I need to clear out? I've already tried resetting a handful of properties to no avail. I'd appreciate any help. 

     

    Thanks.

1 posts, 0 answered