More in this section

Forums / Developing with Sitefinity / calling Event in Control Designer

calling Event in Control Designer

2 posts, 0 answered
  1. Aparna
    Aparna avatar
    1 posts
    24 Jan 2012
    24 Jan 2012
    Link to this post
    I have a drop down in the Edit properties window i need to bind one more dropdown based on the one dropdown seleccted index change. Can i know the way to call the selected index changed event.
  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    30 Oct 2017
    27 Jan 2012
    Link to this post
    Hi Aparna,

    We have replied to you in the support thread you had open on the same issue, please check our response there. For your convenience I'm pasting our reply below as well:
    "Actually, since you'll be working int he designer, you should not make a postback, but rather operate with the data client-side. In your custom designer javascript you can subscribe to the selectedValueChanged event of your control and there you can rebind your second drop down. This will allow you to have access to the selected value of the first dropdown and pass it to the second one.

    Kind regards,
    Boyan Barnev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered