Dynamic usercontrol with combox

4 posts, 0 answers
  1. Marcia Marino
    Marcia Marino avatar
    22 posts
    Member since:
    Jan 2006

    Posted 19 Oct 2010 Link to this post

    I have a usercontrol that has 3 RadPanelBar and each RadPanelBar has 7 RadPanelItem that loads dynamic others usecrontols with RadComboBox

     

    <telerik:RadComboBox id="rcbSize" runat="server" width="289px" onselectedindexchanged="rcbSize_SelectedIndexChanged" autopostback="true"

     height="200px"    emptymessage="Search for Size">

     </telerik:RadComboBox>

     

    I’m able to load the combo fine but when I select a item on the combo box the RadPanelItem closes and the and the onselectedindexchanged is not trigger.

    I’m following the http://www.telerik.com/community/forums/aspnet-ajax/panelbar/radpanelbar-with-load-on-demand-items.aspx example, but I remove the

    <telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">  

        <AjaxSettings> 

        <telerik:AjaxSetting AjaxControlID="RadPanelBar1">  

            <UpdatedControls> 

            <telerik:AjaxUpdatedControl ControlID="RadPanelBar1" /> 

            </UpdatedControls> 

        </telerik:AjaxSetting> 

        </AjaxSettings> 

    </telerik:RadAjaxManager> 

     

    Because when I had that on the control the combo would not load, can anyone help me please.

  2. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 22 Oct 2010 Link to this post

    Hi Marcia Marino,

    Could you, please, try the following:
    1. Handle the ClientSelectedIndexChanged on the comboBox;
    2. In the handler for the above-mentioned event get the dom event (like that "args.get_domEvent()") and stop it's bubbling (e.stopPropagation()).

    Hope this is going to work for you!


    Regards,
    Nikolay Tsenkov
    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. UI for ASP.NET Ajax is Ready for VS 2017
  4. Marcia Marino
    Marcia Marino avatar
    22 posts
    Member since:
    Jan 2006

    Posted 22 Oct 2010 Link to this post

    I dind't work
  5. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 27 Oct 2010 Link to this post

    Hello Marcia Marino,

    Could you, please, try enabling the PersistStateInCookie property of the PanelBar.
    Here is a reference to this property in our documentation: http://www.telerik.com/help/aspnet-ajax/telerik.web.ui-telerik.web.ui.radpanelbar-persiststateincookie.html

    Please, let me know the result.
    Hope this is going to resolve the problem!


    Regards,
    Nikolay Tsenkov
    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
Back to Top