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

how can i use RadAjaxLoadingPanel on selectedindexchange in RadCombobox control?

9 Answers 179 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
tuonglam
Top achievements
Rank 1
tuonglam asked on 07 Mar 2011, 04:44 AM
When i use SelectedIndexchanged in RadCombobox1(postback=true) to call a SQL query to change item in Radcombobox2.I want use RadAjaxLoadingPanel in that time.can you help me?thank you very much!

9 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 08 Mar 2011, 10:47 AM
Hello,

You can attach the OnClientSelectedIndexChanging for the first combobox and there you can call the AjaxLodingPanel explicitly.

Please go through the following demo which shows similar functionality.
ComboBox / Related ComboBoxes

Also check out this help article which shows how to call the AjaxLodingPanel explicitly
Show and hide loading panel explicitly

Thanks,
Shinu.
0
tuonglam
Top achievements
Rank 1
answered on 13 Mar 2011, 07:31 AM
thanks Shinu,in several day i tried to use you code but it don't working :( when i load the page.the telerak don't woking.i don't know why :(
0
Veronica
Telerik team
answered on 14 Mar 2011, 09:24 AM
Hi tuonglam,

Could you please send us your project so we can inspect it and help you?

Thank you!

P.S: As this is a forum post - you are not allowed to attach .zip files. As an alternative - please use one of the sites for free online storage as 4shared.com for example.

Kind regards,
Veronica Milcheva
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
tuonglam
Top achievements
Rank 1
answered on 14 Mar 2011, 03:38 PM
thank you very much for reply me!

this's my project http://www.mediafire.com/download.php?wnzonxjmh6juw7q

i want to using RadCombobox in Default page.i want load data from Radcombobox
0
Veronica
Telerik team
answered on 17 Mar 2011, 10:02 PM
Hi tuonglam,

Thank you for the attached project.

First you need to remove the ScriptManager instance from the Index.aspx page as otherwise you'll got error: "Only one instance of a ScriptManager can be added to the page."

Also it seems that there is a problem with binding your RadComboBox. I'll need some more time to onvestigate the issue. Meantime could you please tell me is your RadComboBox with ID RadComboBox1 bound successfully? In the database the ROUTE table to which the RadComboBox must be bound have no data. Am I missing something?

Greetings,
Veronica Milcheva
the Telerik team
0
kavitha
Top achievements
Rank 1
answered on 06 May 2011, 04:35 PM
Hello,

   I have the same issue, i have a radcombo within a radgrid's EditFormSettngs, and i want to show a loading panel when the combo box selection is changed. Is there a way to do it? I looked at the RequestStart and RequestEnd methods but not sure how to attach it to the combo inside the grid. Can you provde a sample please?

Thank You
0
Veronica
Telerik team
answered on 09 May 2011, 01:50 PM
Hi kavitha,

I think that this demo will be helpful in your case. Please note that the RequestStart and ResponseEnd are called from the ClientEvents in the RadAjaxManager:

<ClientEvents OnRequestStart="RequestStart" OnResponseEnd="ResponseEnd" />

Also note that in the demo the RadCalendar updates itself:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadCalendar1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadCalendar1" />
                    <telerik:AjaxUpdatedControl ControlID="Label1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
. . .

Also in the code-behind in the SelectionChanged event handler of the RadCalendar - there is a Thread sleeped for 500 ms. This is needed so that the handler is slowed and the loading animation will have enough time to appear.

protected void RadCalendar1_SelectionChanged(object sender, Telerik.Web.UI.Calendar.SelectedDatesEventArgs e)
        {
            . . .
            System.Threading.Thread.Sleep(500);
        }

Hope this helps.

Greetings,
Veronica Milcheva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
SHIVA
Top achievements
Rank 1
answered on 02 Jun 2014, 11:39 AM
in this first dropdown not firing when i used
<telerik:AjaxSetting AjaxControlID="ddOrgState">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="ddOrgDistrict" />
                    
                </UpdatedControls>
            </telerik:AjaxSetting>
this in
radajaxmanager.
please reply thank you all.
0
Nencho
Telerik team
answered on 05 Jun 2014, 07:23 AM
Hello Shiva,

I have prepared a sample page for you, demonstrating the correct implementation of RadAjaxManager, when you need to ajaxify both RadComboBoxes.Please find it attached and give it a try at your end.

Regards,
Nencho
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ComboBox
Asked by
tuonglam
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
tuonglam
Top achievements
Rank 1
Veronica
Telerik team
kavitha
Top achievements
Rank 1
SHIVA
Top achievements
Rank 1
Nencho
Telerik team
Share this question
or