RadAjaxManager Problem

2 posts, 0 answers
  1. Cagdas
    Cagdas avatar
    14 posts
    Member since:
    Nov 2013

    Posted 29 Nov 2013 Link to this post

    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









  2. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1488 posts

    Posted 04 Dec 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top