Disabling of a control within a RadAjaxPanel

6 posts, 0 answers
  1. Boris
    Boris avatar
    276 posts
    Member since:
    Oct 2012

    Posted 24 Apr 2015 Link to this post

    Is there anything wrong with this scenario?  (For a change this only seems to happen in Chrome, both from the server and when run in Visual Studio.  IE and Firefox don't have this problem.)

    This is a Dot Net 4.0 C# web app.  I have a Master page with a RadAjaxPanel.  The panel contains an asp:Repeater which functions as a menu at the top of the page.  The repeater contains and item template using an asp:LinkButton.  The link buttons all fire a single event handler.

    In the page using this master page I have another RadAjaxPanel.  This contains an assortment of RadComboBoxes and one RadMenu, just added.  

    If I change the setting of any of the RadComboBoxes or the RadMenu (if any SelectedIndexChanged event fires) the repeater link buttons are disabled.   The click event does not fire. (Sometimes.  It seems to be intermittent.)  If I refresh the page the links work again.

    Suggestions?

  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 27 Apr 2015 Link to this post

    Hi Boris,

    Based on the described issue I would suppose that some js error appear on the page and this is preventing the Repeater's button to behave  properly, Can you please inspect the response using the browser's console and see if any errors appear in the page when SelectedIndexChanged event fires?
    Also can you please try to replace the RadAjaxPanel controls with regular asp UpdatePanel's and see if this makes any difference?

    Regards,
    Maria Ilieva
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Boris
    Boris avatar
    276 posts
    Member since:
    Oct 2012

    Posted 27 Apr 2015 in reply to Maria Ilieva Link to this post

    Thanks for the suggestion of using the browser console.  I should have thought of that earlier.

    There is a Javascript crash.  Uncaught TypeError: Cannot read property 'pollerInstance' of nullTelerik.Web.UI.RadProgressManager.startProgressPolling @ Telerik.Web.UI.WebResource.axd?

    There is a section in my Aspx:

       <telerik:RadProgressManager ID="RadProgressManager1" runat="server" />
       <telerik:RadProgressArea ID="RadProgressArea1" runat="server" ProgressIndicators="TotalProgressBar, TotalProgress, TotalProgressPercent, RequestSize, FilesCountBar, FilesCount, SelectedFilesCount, CurrentFileName, TimeElapsed, TimeEstimated, TransferSpeed"></telerik:RadProgressArea>

    Quite frankly I don't remember when or why I put it in there.  Probably something I cook-booked a very long time ago.

  5. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1803 posts

    Posted 30 Apr 2015 Link to this post

    Hello Boris,

    With the provided information only it would be difficult to determine what exactly is causing the problem in your project.

    Can you please try to isolate the issue in a sample, runnable project, so we can test it locally and hopefully find what is causing the error.


    Regards,
    Konstantin Dikov
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  6. Boris
    Boris avatar
    276 posts
    Member since:
    Oct 2012

    Posted 30 Apr 2015 in reply to Konstantin Dikov Link to this post

    I tried to create a test sample but was unable.  However I simply removed the RadProgressManager and RadProgressArea controls and the problem went away.  Quite frankly I can't remember why they're there or what they do.  I believe they were somehow required by the original RadUpload control but I replaced that with a RadAsyncUpload a while ago.  Everything including the upload appears to be working fine without them.  
  7. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 05 May 2015 Link to this post

    Hi Boris,

    I'm glad that you have mentioned to fix the issue on your end. Do let us know if further assistance is needed or if another issue arise.

    Regards,
    Maria Ilieva
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017