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

"Waiting please..." message on load RadComboBoxes

3 Answers 181 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Ciupaz
Top achievements
Rank 2
Veteran
Ciupaz asked on 14 Jul 2020, 08:40 AM
Hello,
I have a ASP.NET page with 5 RadComboBox. 
When the user select one (and only one) item in the first Combo,
I populate the other 4 Combos.
Is there a way to place a cute spinning wheel - or anything similar - 
that shows me operations on database in background?

Thanks a lot.

Luis

3 Answers, 1 is accepted

Sort by
0
Accepted
Peter Milchev
Telerik team
answered on 14 Jul 2020, 02:23 PM

Hello Luis,

If you are triggering a Postback on each selection, you can use the AjaxManager or AjaxPanel to wrap the controls and add an AjaxLoadingPanel for them:

If there is no postback, you can show and a loading panel programmatically:

Regards,
Peter Milchev
Progress Telerik

0
Ciupaz
Top achievements
Rank 2
Veteran
answered on 21 Jul 2020, 09:33 AM

Hi Peter,
in my aspx page I have this at the end of Form tag:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableAJAX="false" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
      <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="cmbEdizione">
          <UpdatedControls>
            <telerik:AjaxUpdatedControl ControlID="cmbFormati" LoadingPanelID="RadAjaxLoadingPanel1" />
            <telerik:AjaxUpdatedControl ControlID="cmbPosizioni" LoadingPanelID="RadAjaxLoadingPanel1" />
            <telerik:AjaxUpdatedControl ControlID="cmbSezioni" LoadingPanelID="RadAjaxLoadingPanel1" />
            <telerik:AjaxUpdatedControl ControlID="cmbTipologie" LoadingPanelID="RadAjaxLoadingPanel1" />
          </UpdatedControls>
        </telerik:AjaxSetting>
      </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />

 

but nothing happen.

I want that when the user selecteIndexChanged on the first comboBox (cmbEdizione), the other 4 - while fetch data from database - 
have the spinning wheels above. 

What I'm doing wrong? 

Luigi

 

 

 

0
Ciupaz
Top achievements
Rank 2
Veteran
answered on 21 Jul 2020, 09:36 AM

Sorry my fault, it has EnableAjax = "False", and should be "True. 

 

L.

Tags
ComboBox
Asked by
Ciupaz
Top achievements
Rank 2
Veteran
Answers by
Peter Milchev
Telerik team
Ciupaz
Top achievements
Rank 2
Veteran
Share this question
or