This is a migrated thread and some comments may be shown as answers.

RadComboBox doesn't fire Ajax Request when item is clicked

1 Answer 50 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Shane
Top achievements
Rank 1
Shane asked on 18 Mar 2013, 09:01 PM
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?

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 21 Mar 2013, 04:09 PM
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.
Tags
ComboBox
Asked by
Shane
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or