how can i use RadAjaxLoadingPanel on selectedindexchange in RadCombobox control?

10 posts, 0 answers
  1. tuonglam
    tuonglam avatar
    5 posts
    Member since:
    Mar 2011

    Posted 06 Mar 2011 Link to this post

    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!
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 08 Mar 2011 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. tuonglam
    tuonglam avatar
    5 posts
    Member since:
    Mar 2011

    Posted 13 Mar 2011 Link to this post

    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 :(
  5. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 14 Mar 2011 Link to this post

    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!
  6. tuonglam
    tuonglam avatar
    5 posts
    Member since:
    Mar 2011

    Posted 14 Mar 2011 Link to this post

    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
  7. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 17 Mar 2011 Link to this post

    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
  8. kavitha
    kavitha avatar
    17 posts
    Member since:
    Oct 2010

    Posted 06 May 2011 Link to this post

    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
  9. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 09 May 2011 Link to this post

    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.

  10. SHIVA
    SHIVA avatar
    1 posts
    Member since:
    Dec 2011

    Posted 02 Jun 2014 in reply to Veronica Link to this post

    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.
  11. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 05 Jun 2014 Link to this post

    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.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017