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

RadCombobox Selectedindex change and Ajax Loading

3 Answers 176 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Ravi
Top achievements
Rank 1
Ravi asked on 04 Apr 2013, 07:19 PM

Hi, I am using the Radcombobox to load data from filter table. When i change the selected item , i am calling Selected Index Change and reload data in a radgrid. This works good.

Now i am adding a new filter in the table in top of the for on a button click (same Page). The user requested to see the newly added filter without refreshing the page or any button click. I tried to do the same using Ajax and it works fine.. But my Selected Index Change Event is not firing, If i rever back the changes the selected Index change event first and the data loaded to the radgrid.

Is there any changes any settings i need to do to work both selected index change and the Ajax data load for the Radcombobox.

Quick reply will be really appreciated.

Thanks

Ravi

3 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 08 Apr 2013, 04:31 PM
Hello Ravi,

It is quite possible that your RadComboBox is not updating the RadGrid control anymore after you decided to use Ajax in your page. I would suggest using RadAjaxManager in order to update your content without refreshing the whole page. Here you may find more information about ajaxifying controls .
Could you please try the following approach in order to update your RadGrid control when user interacts with the RadComboBox.
//markup code

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadComboBox1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1">
                    </telerik:AjaxUpdatedControl>
                </UpdatedControls>
        </AjaxSettings>
    </telerik:RadAjaxManager>

If you are still facing that issue, please elaborate a bit more on your scenario. Please explain how exactly you are trying to implement Ajax in your project.

All the best,
Boyan Dimitrov
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.
0
Ciupaz
Top achievements
Rank 2
Veteran
answered on 22 Jul 2020, 05:56 PM
In this case, where a put the RadAjaxLoadingPanel1?
0
Vessy
Telerik team
answered on 23 Jul 2020, 06:10 AM

Hi Ciupaz,

The AjaxLoadingPanel can be defined just below the AjaxManager:

        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadComboBox1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>

        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default"></telerik:RadAjaxLoadingPanel>

 

Regards,
Vessy
Progress Telerik

Tags
DropDownList
Asked by
Ravi
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Ciupaz
Top achievements
Rank 2
Veteran
Vessy
Telerik team
Share this question
or