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

how to put the loading panel?

2 Answers 90 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Henry
Top achievements
Rank 1
Henry asked on 10 Apr 2012, 04:34 AM
there is one radcombobox and radgrid in the page, when the selection changed in the combobox, it will reload grid base on selection. the grid takes a while to load, now during this loading time, the user will feel like nothing happening... how can I put a loading panel above the grid after radcombobox is selected?

the grid itself does have loading icon in the bottom left corner, it shows when the action is initiated from the grid(for example, filtering), but it doesn't when the action is out of the grid (in this case, the action is from radcombobox).

thanks.

2 Answers, 1 is accepted

Sort by
0
Accepted
Jayesh Goyani
Top achievements
Rank 2
answered on 10 Apr 2012, 06:07 AM
Hello Henry,

Try with below code snippet.

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

Note : if you already used RadAjaxManager then use RadAjaxManagerProxy.

Thanks,
Jayesh Goyani
0
Henry
Top achievements
Rank 1
answered on 11 Apr 2012, 06:34 PM
Thank you Jayesh, it works.

how about the combobox itself? currently I set to EnableLoadOnDemand="True", when the items in the combobox is loading, it shows the text "loading...", how can I put a loadingPanel too? 
Tags
Grid
Asked by
Henry
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Henry
Top achievements
Rank 1
Share this question
or