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

Asp.Net Rad Grid with paging css lost randomly

8 Answers 83 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vinay
Top achievements
Rank 1
Vinay asked on 17 Sep 2014, 01:50 PM
Hi,

I am facing css problem with rad grid in Asp.Net in production environment having pager(Position="TopAndBottom" Mode="NextPrevNumericAndAdvanced") randomly.

While I am working in Dev environment, it's working good & never had this issue. Even after deployment to production, it was working good for 2 days and suddenly the css for all the rad grids that we used in application was lost(I have used Vista theme). And some how after 10 hours, it was working good as before. I don't have any clue what happened to the gird. This happened twice in 1 month. For now it's working good but I want to find out the root cause for this so I can prevent this issue happening in future.

I have attached screenshots for both working & non working girds pager. I can't post screenshots with Headers due to rules. :)

Please Help.

Thanks,
Vinay

8 Answers, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 22 Sep 2014, 08:02 AM
Hi Vinay,

The described issue is very strange and we have not encounter it so far and we are not sure what could be the reason for it. Could you please elaborate a bit more on the described issue? Does it occur in every browser or in a specific? Do you use CDN or load all styles from your server?
Also could you please check if you have RadCompression enabled into your project and try disabling it.

Looking forward for your reply.

Regards,
Radoslav
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Vinay
Top achievements
Rank 1
answered on 22 Sep 2014, 08:34 AM
Hi Radoslav,

Thanks for the reply.

Yes, this issue is occurring in every browser(I checked in IE 8,9,10, Firefox & Chrome) and as I mentioned that this issue has happened twice but randomly. I haven't used RadCompression. And it's working fine right now.
Yes, I am loading all styles. Please tell me if you require more information.

Thanks,
Vinay
0
Radoslav
Telerik team
answered on 23 Sep 2014, 08:24 AM
Hi Vinay,

Could you please try adding the RadSkinManager to your master page and let me know if the issue still exists.
The other option is to use the CDN which will load all needed scripts and styles.

Please give the approaches try and let me know if the problem is still reproducible.

Looking forward for your reply.

Regards,
Radoslav
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Vinay
Top achievements
Rank 1
answered on 06 Feb 2015, 12:46 PM
Hi Radoslav,

Now, we are facing new issue with telerik controls, the rad drop downs, the Rad upload control stops working, when we click the drop down, the list is not popping out. This issue has happened before for 3 times & got resolved automatically after few hours. The biggest questions that I'm facing is if I have done wrong configurations then it should never work. But in our scenario it works for 1 or 1.5 months and suddenly it stops working and again after few hours on the same day it works like a charm.

What could be the cause behind this behavior?

Does telerik provides any support in which we can saw the application at the time of issue? Screen Sharing? so they can see that which resources are loading and which are not? Randomly ???

A solution for this is badly needed. Please help.
0
Konstantin Dikov
Telerik team
answered on 11 Feb 2015, 07:07 AM
Hi Vinay,

Without having at least the code of your page, where you are facing the problem it will be impossible for us to determine what could cause the issue. However, since the problem occurs sporadically, the actual implementation may not be the problem, so if you have the CDN enabled, this could lead to the issue that you are describing, if the server where the scripts are located is down. If that is the case, I could only suggest that you load your scripts locally.

Another thing that I could suggest is that you inspect your browser's console for any JavaScript errors, where the issue is observed.

As for the remove assistance, this service is available only with DevCraft Ultimate packages. For more details you can take a look at the following article:

Best Regards,
Konstantin Dikov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Vinay
Top achievements
Rank 1
answered on 18 Feb 2015, 07:46 AM
Hi Konstantin,

We are not using CDN, the resources are loaded by the telerik handlers it self which is default behavior.
We encountered this problem yesterday again & here is the javascript error that was coming in browser console.

Uncaught ReferenceError: $common is not defined                           ScriptResource.axd:96

This is the only error that was on console. I have attached image for the same.
If any other error message will come next time, I will post here.

Please provide your inputs on this.

Thanks,
Vinay
0
Konstantin Dikov
Telerik team
answered on 20 Feb 2015, 02:17 PM
Hello Vinay,

We are not aware of such error related to our controls. However, after a quick search, I have found similar reports related to the AjaxControlToolKit. Please take a look at the following forum thread and see if the suggestion will help in your case:
If you continue to experience that issue, please open a regular support ticket with attached sample project that replicates the same issue, so we can test it locally.


Best Regards,
Konstantin Dikov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Vinay
Top achievements
Rank 1
answered on 09 Oct 2015, 07:28 PM

Hi Konstantin Dikov & Radoslav,

After long time, I've discovered the issue. The issue was neither in the telerik controls nor in Ajax Control toolkit.

I improved error logs in my application and found that one of our custom http handler which was used for SQL Injection protection was blocking request of telerik and ajax toolkit handlers.

In this handler, we are blocking characters like xp_​c, xp_d, delete etc. When telerik we resource was generating query string which is random, some time it contains characters ​which are in our black list characters in our custom handler and was blocked.

Here is the example : http://www.mysite.com/Telerik.Web.UI.WebResource.axd?jdfkgfdjgfdgxp_crtertg

I changed this handler to skip telerik resources for scanning and issue is resolved.

Thank you very much for your kind support.

 

Regards,

Vinay

 

Tags
General Discussions
Asked by
Vinay
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Vinay
Top achievements
Rank 1
Konstantin Dikov
Telerik team
Share this question
or