RadComboBox doesn't fire Ajax Request when item is clicked

2 posts, 0 answers
  1. Shane
    Shane avatar
    17 posts
    Member since:
    Jan 2013

    Posted 18 Mar 2013 Link to this post

    I have a RadComboBox that uses the SelectedIndexChanged event handler to set the value of another combo box on the page. I have a RadAjaxManagerProxy on the content control and an AjaxSetting for the combo box with the affected combo box specified as the updated control. Here's the code for the Ajax settings.

    <telerik:RadAjaxManagerProxy id="RadAjaxManagerProxy1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="cboPhysMunicipality">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="cboPhysDistrictOffice" LoadingPanelID="RadAjaxLoadingPanel1"/>
                    <telerik:AjaxUpdatedControl ControlID="cboMailStateCountry" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>       
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>

    The Combo box calls the selected index changed event handler; but it doesn't use the Ajax Manager, it never shows the loading panel, and it clears out other combo boxes that shouldn't be affected. It think these are getting cleared because it's doing a full post back instead of an Ajax update.

    Now, here's where it gets really wierd. If I type in the combo box until it highlights the desired item, and then press enter, it works perfectly. However, if I type until it highlights, then click on the desired item, it doesn't use the ajax loading panel, it just posts back.

    One other thing, if I set AllowCustomText to false; everything works just like it should. But if I set AllowCustomText = true, this is what I end up with. Unfortunately, I have to have AllowCustomText set to true for this field.

    Any ideas why AllowCustomText would stop the RadComboBox from doing an Ajax update?
  2. Nencho
    Admin
    Nencho avatar
    1822 posts

    Posted 21 Mar 2013 Link to this post

    Hello Shane,

    I am afraid that I was unable to replicate the described behavior. I have prepared a sample project for you, demonstrating the behavior at my end. Please give it a try and let me know if I had missed something. In addition, here is a video demonstrating the behavior at my end.
    Note that dll files are removed from the attachment.

    Kind regards,
    Nencho
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top