More in this section

Forums / Developing with Sitefinity / Custom Widget (Usrecontrol) in Sitefinity Dashboard

Custom Widget (Usrecontrol) in Sitefinity Dashboard

2 posts, 0 answered
  1. Anju
    Anju avatar
    19 posts
    22 Jul 2014
    29 Jun 2015
    Link to this post

    Hi All,

    I am having a dynamic module and i am creating a widget to view the data in the dynamic module on selecting the title from a drop down list. I created a widget and  registered the widget within the toolbox from Settings and dragged and dropped the widget in the dashboard. but unfortunately onselectedindexchange of the dropdown nothing happens. Data is not getting binded to the textbox. Is it possible to have a custom widget(user control ) in sitefinity dashboard?? Why the dropdownlist is not triggering onselected index change. Please help me.


    Please find my code : 

    <asp:ScriptManager runat="server" />
    <asp:UpdatePanel runat="server" ChildrenAsTriggers="True" UpdateMode="Conditional">
            <asp:DropDownList ID="ddlRegion" runat="server" Width="200px" AutoPostBack="true" OnSelectedIndexChanged="ddlRegion_SelectedIndexChanged">
                <asp:ListItem Text="Select Region" Value="0" Selected="True"></asp:ListItem>
                        <textarea id="txtTitle" runat="server"></textarea></td>
                        <label>Programs in State</label></td>
                        <textarea runat="server" id="txtProgramsInState"></textarea></td>
                        <label>State program approval</label></td>
                        <textarea runat="server" id="txtStateProgramApproval"></textarea></td>
            <asp:AsyncPostBackTrigger ControlID="ddlRegion"
                EventName="SelectedIndexChanged" />

  2. Atanas Valchev
    Atanas Valchev avatar
    414 posts
    04 Jan 2016
    02 Jul 2015
    Link to this post

    The widget should work on the dashboard. Please, test the widget on a normal sitefinity page to see if it works there. If it work, test again on the Dashboard and check Chrome Dev tools for any errors. After that check the error logs as well.

    Atanas Valchev
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered