Asp.Net Rad Grid with paging css lost randomly

9 posts, 0 answers
  1. Vinay
    Vinay avatar
    10 posts
    Member since:
    Sep 2014

    Posted 17 Sep 2014 Link to this post

    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
  2. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 22 Sep 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Vinay
    Vinay avatar
    10 posts
    Member since:
    Sep 2014

    Posted 22 Sep 2014 in reply to Radoslav Link to this post

    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
  5. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 23 Sep 2014 Link to this post

    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.

     
  6. Vinay
    Vinay avatar
    10 posts
    Member since:
    Sep 2014

    Posted 06 Feb 2015 Link to this post

    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.
  7. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1803 posts

    Posted 11 Feb 2015 Link to this post

    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.

     
  8. Vinay
    Vinay avatar
    10 posts
    Member since:
    Sep 2014

    Posted 18 Feb 2015 in reply to Konstantin Dikov Link to this post

    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
  9. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1803 posts

    Posted 20 Feb 2015 Link to this post

    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.

     
  10. Vinay
    Vinay avatar
    10 posts
    Member since:
    Sep 2014

    Posted 09 Oct 2015 in reply to Konstantin Dikov Link to this post

    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

     

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