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

Forums / Developing with Sitefinity / How to expose dropdown selectindexchanged event in custom control?

How to expose dropdown selectindexchanged event in custom control?

2 posts, 0 answered
  1. subrahmanyam
    subrahmanyam avatar
    1 posts
    Registered:
    15 Feb 2011
    18 Jan 2012
    Link to this post
    Hi Experts,

                  How to Expose DropDown SelectIndexChanged Event in Custom Control?

    Thanks,
    subrahmanyam.i
  2. Jen Peleva
    Jen Peleva avatar
    568 posts
    Registered:
    10 Nov 2016
    21 Jan 2012
    Link to this post
    Hello Subrahmanyam,

    In order to do so, you need to use GetControl<T> method as in the following example:
    protected internal virtual HtmlGenericControl ItemsContainer
    {
        get
        {
            return this.Container.GetControl<HtmlGenericControl>("itemsContainer", true);
        }
    }

    Kind regards,
    Jen Peleva
    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