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

RadAjaxManager Problem

1 Answer 41 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Cagdas
Top achievements
Rank 1
Cagdas asked on 29 Nov 2013, 04:13 PM
radwindow hangs in the radajaxmanag, radajaxmanager hangs

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" CssClass="ajaxloader" runat="server" InitialDelayTime="0" Transparency="25" MinDisplayTime="0" BackColor="#474747" Skin="Metro">
</telerik:RadAjaxLoadingPanel>

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
      <AjaxSettings
       
          <telerik:AjaxSetting AjaxControlID="txtMiktar">
              <UpdatedControls>
                  <telerik:AjaxUpdatedControl ControlID="txtTutar" LoadingPanelID="RadAjaxLoadingPanel1" />
              </UpdatedControls>
          </telerik:AjaxSetting>
 
          <telerik:AjaxSetting AjaxControlID="txtBirimFiyat">
              <UpdatedControls>
                  <telerik:AjaxUpdatedControl ControlID="txtTutar" LoadingPanelID="RadAjaxLoadingPanel1" />
              </UpdatedControls>
          </telerik:AjaxSetting>
 
         <telerik:AjaxSetting AjaxControlID="txtTutar">
              <UpdatedControls>
                  <telerik:AjaxUpdatedControl ControlID="txtBirimFiyat" LoadingPanelID="RadAjaxLoadingPanel1" />
              </UpdatedControls>
          </telerik:AjaxSetting>          
  
   </AjaxSettings>
  </telerik:RadAjaxManager>

img : radajaxmanager hangs

<td>
                       <span>
                           <telerik:RadNumericTextBox ID="txtMiktar" runat="server" NumberFormat-DecimalDigits="3" AutoPostBack="true" OnTextChanged="txtMiktar_TextChanged" Culture="Turkish (Turkey)" MinValue="0" LabelCssClass="" Width="70px" Value="0"></telerik:RadNumericTextBox>
                       </span>
                   </td>
                   <td>
                       <span>
                           <telerik:RadTextBox ID="txtBirimKod" runat="server" Enabled="false" Width="80px"></telerik:RadTextBox>
                       </span>
                   </td>
 
                   <td>
                       <span>
                           <telerik:RadNumericTextBox ID="txtBirimFiyat" NumberFormat-DecimalDigits="4" AutoPostBack="true" OnTextChanged="txtBirimFiyat_TextChanged" runat="server" Culture="Turkish (Turkey)" MinValue="0" LabelCssClass="" Width="70px" Value="0"></telerik:RadNumericTextBox>
                       </span>
                   </td>
                   <td>
                       <span>
                           <telerik:RadNumericTextBox ID="txtTutar" NumberFormat-DecimalDigits="4" AutoPostBack="true" OnTextChanged="txtTutar_TextChanged" runat="server" Culture="Turkish (Turkey)" MinValue="0" LabelCssClass="" Width="70px" Value="0"></telerik:RadNumericTextBox>
                           <telerik:RadTextBox ID="txtGuncelleId" runat="server" Visible="false" Text=""></telerik:RadTextBox>
 
 
                       </span>
                   </td>



What is the problem here









1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 04 Dec 2013, 03:24 PM
Hello,

Could you elaborate more on the problem that you are observing? What do you mean by "RadAjaxManager hangs"? Is the loading panel not hidden or is it another issue?

If RadAjaxLoadingPanel is not hidden after it is initially displayed it could be because OnResponseEnd event is not triggered. This might be caused by a JavaScript error on the page. Check the console of your browser and ensure that there are no errors thrown.

I used the code provided in your post and created a sample project where the controls seem to be working as expected on my side. The RadAjaxLoadingPanel is displayed over the updated control for a short time. The only modification I made was to increase the MinDisplayTime value so the loading panel is clearly visible.

Give the attached project a try and check if it is working for you.

Regards,
Viktor Tachev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Ajax
Asked by
Cagdas
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or