Hello Community,
maybe i misunderstood the radajaxloadingpanel control... So i try to explain my request.
On my Site i have a Button who opens a RadWindow (like this KreditberechnungErgebnis.OpenerElementID = lbBerechnen.ClientID).
So it does a Postback and i do something code behind.
At this Point i just want to bridge over the Postback for my Users, with the radajaxloadingpanel.
I don't want to reload any Controll on my Site.
My Code look like this:
I actually don't want this:
BTW, it does not work like anyway. :)
Sorry for my bad Englich, i hope you understand me. If not i will try to explain it again.
Thank you!
Daniel
maybe i misunderstood the radajaxloadingpanel control... So i try to explain my request.
On my Site i have a Button who opens a RadWindow (like this KreditberechnungErgebnis.OpenerElementID = lbBerechnen.ClientID).
So it does a Postback and i do something code behind.
At this Point i just want to bridge over the Postback for my Users, with the radajaxloadingpanel.
I don't want to reload any Controll on my Site.
My Code look like this:
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> <script type="text/javascript"> var currentLoadingPanel = null; var currentUpdatedControl = null; function RequestStart(sender, args) { currentLoadingPanel = $find("<%= RadAjaxLoadingPanel1.ClientID %>"); if (args.get_eventTarget() == "<%= lbBerechnen.UniqueID%>") { currentUpdatedControl = "<%= tabBearbeitung.ClientID%>"; } //show the loading panel over the updated control currentLoadingPanel.show(currentUpdatedControl); } function ResponseEnd() { //hide the loading panel and clean up the global variables if (currentLoadingPanel != null) currentLoadingPanel.hide(currentUpdatedControl); currentUpdatedControl = null; currentLoadingPanel = null; } </script></telerik:RadCodeBlock><telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="lbBerechnen"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="tabBearbeitung" LoadingPanelID="RadAjaxLoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> <ClientEvents OnRequestStart="RequestStart" OnResponseEnd="ResponseEnd" /></telerik:RadAjaxManager><telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default"></telerik:RadAjaxLoadingPanel><asp:LinkButton runat="server" Width="100px" ID="lbBerechnen" CssClass="button-theme"> <span class="span_outer"> <span class="span_right"> <span class="span_left"> <span style="width: 92px;" class="span_inner">Berechnen</span> </span> </span> </span> </asp:LinkButton>I actually don't want this:
currentUpdatedControl = "<%= tabBearbeitung.ClientID%>";BTW, it does not work like anyway. :)
Sorry for my bad Englich, i hope you understand me. If not i will try to explain it again.
Thank you!
Daniel
