I have a default loading panel set because I want pretty much everything to use it except for one thing. Is there a way to exclude something? Here's a condensed version of what I'm hoping to make work:
I know I can just leave out a default loading panel and explicitly set a loading panel for the ones I want, like so:
But if all but one are going to use the loading panel, it's less wordy to do it the other way.
<telerik:RadAjaxManager runat="server" DefaultLoadingPanelID="loadingPanel"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="btnLoad"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="rgResults"/> <telerik:AjaxUpdatedControl ControlID="lblResults"/> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="txtIDs"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="rtb1"/> <telerik:AjaxUpdatedControl ControlID="rtb2"/> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings></telerik:RadAjaxManager>I know I can just leave out a default loading panel and explicitly set a loading panel for the ones I want, like so:
<telerik:AjaxUpdatedControl ControlID="rgResults" LoadingPanelID="loadingPanel"/><telerik:AjaxUpdatedControl ControlID="lblResults"/>But if all but one are going to use the loading panel, it's less wordy to do it the other way.