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

Disabling of a control within a RadAjaxPanel

5 Answers 118 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 24 Apr 2015, 01:55 PM

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?

5 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 27 Apr 2015, 08:48 AM
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.

 
0
Boris
Top achievements
Rank 1
answered on 27 Apr 2015, 03:56 PM

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.

0
Konstantin Dikov
Telerik team
answered on 30 Apr 2015, 11:20 AM
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.

 
0
Boris
Top achievements
Rank 1
answered on 30 Apr 2015, 12:31 PM
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.  
0
Maria Ilieva
Telerik team
answered on 05 May 2015, 08:17 AM
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.

 
Tags
Ajax
Asked by
Boris
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Boris
Top achievements
Rank 1
Konstantin Dikov
Telerik team
Share this question
or