Issues with components over Sonicwall VPN

12 posts, 0 answers
  1. csimpson1971
    csimpson1971 avatar
    9 posts
    Member since:
    Feb 2007

    Posted 16 Nov 2011 Link to this post

    I have used the Telerik controls at our college for a number of years with great success. However, there has always been an issue with using some of the controls over our Sonicwall VPN which is now causing a problem.

    I downloaded the latest trial version yesterday to see if this issue had been rectified but it hadn't.

    There are a couple of controls which seem to be affected:

    RadComboBox
    This does not seem to work at all over the Sonicwall VPN. The control is displayed but on clicking on the item nothing happens. The Javascript error Object doesn't support this property or method is given (Telerik.Web.UI.WebResource.axd) Code:0 Line: 8950 Char: 1. I just dropped a ComboBox onto a page and hard coded some options in to keep everything as simple as possible.

    RadGrid
    The grid displayed as expected. However, when paging appeared or was selected to be used the same error appeared.

    Has anybody else had similar issues, and how can I get round the problem?

  2. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 21 Nov 2011 Link to this post

    Hello,

    Opening the page over VPN should not have an impact on the loaded scripts at all. However, it seems tht there is something we are missing. As a troubleshoot measure, could you try running your website in debug mode (so that the debug scripts are loaded) and send us a screenshot of the exact code that throws the error. This will give us a better insight on what is going wrong.


    Kind regards,
    Genady Sergeev
    the Telerik team
    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 their blog feed now
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. csimpson1971
    csimpson1971 avatar
    9 posts
    Member since:
    Feb 2007

    Posted 21 Nov 2011 Link to this post

    Hi

    The exact line that is causing the problem is:

    line 2490
    this._element.src=sw_httprp_rewrite_url("javascript:'';");

    Hopefully this will help
    Thanks
  5. csimpson1971
    csimpson1971 avatar
    9 posts
    Member since:
    Feb 2007

    Posted 21 Nov 2011 Link to this post

    Hi

    The exact line that is causing the problem is:

    line 2490
    this._element.src=sw_httprp_rewrite_url("javascript:'';");

    Hopefully this will help
    Thanks
  6. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 23 Nov 2011 Link to this post

    Hi ,

    Thanks for the snippet. This indeed looks like code of ours, however, it seems modified. More specifically, the sw_httprp_rewrite_url seems to be some how injected in our code. This is how the same line looks in our trunk:

    this._element.src = "javascript:'';";

    It seems that the sonic wall VPN is modifying the JavaScript on the page. I suggest that you contact the sonic wall guys and ask them what is the sw_httprp_rewrite_url function doing and why it is throwing errors.
     
    Best wishes,
    Genady Sergeev
    the Telerik team
    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 their blog feed now
  7. Jay
    Jay avatar
    6 posts
    Member since:
    Apr 2012

    Posted 15 Oct 2012 Link to this post

    I'm having similar issues with Telerik and Sonicwall. 

    Basically, the page renders to a point, but fails to completely load and all controls are not usable.  Its as if the page just stops loading and it does appear to be javascript related.

    Also its about a year later from this thread so any solutions discovered in the meantime?
  8. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 18 Oct 2012 Link to this post

    Hi Jay,

    Unfortunately we don't have any further progress on the issue. What is happening is that the sonicwall vpn is rewriting the JavaScript on the page and as a result some of our controls fail to work. I suggest that you get in touch with the sonic wall guys and ask them what is that rewriter doing.

    All the best,
    Genady Sergeev
    the Telerik team
    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 their blog feed now.
  9. Bobby
    Bobby avatar
    3 posts
    Member since:
    Dec 2013

    Posted 06 Dec 2013 Link to this post

    Hi,

    I also found that your grid doesn't work over Cisco VPN. 

    Is this a known problem?

    Thanks
    Bobby
  10. Ian
    Ian avatar
    1 posts
    Member since:
    Dec 2013

    Posted 11 Dec 2013 Link to this post

    I've just got around this problem. On the Sonicwall device, under the application offloader settings, make sure Enable URL Rewriting for self-referenced URLs is unchecked. We also had to publish the application from the root of the web site under IIS, working from a sub virtual directory it still wouldn't work. For example, the application needs to be published as www.website.com/ rather than www.website.com/applicationname.

    The second element may have been a referencing issue however it was only problematic when accessed through the Sonicwall SSLVPN in certain browsers (Sonicwall SRA appliance and IE8 in my case)

  11. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 12 Dec 2013 Link to this post

    Hi Ian,

    Thanks for sharing this feedback with the community. I've updated your Teleirk points as a token of gratitude.

    Regards,
    Genady Sergeev
    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.
  12. Bobby
    Bobby avatar
    3 posts
    Member since:
    Dec 2013

    Posted 13 Dec 2013 Link to this post

    Hi,

    I am using Cisco VPN and I am also having the issue.

    My pages using RadGrid is not displaying properly.

    Thanks
  13. Bobby
    Bobby avatar
    3 posts
    Member since:
    Dec 2013

    Posted 13 Dec 2013 Link to this post

    I upgraded to visual studio 2013 and started using cisco VPN together, so I thought the problem might be because of VPN.

    But I was wrong and we need to add the following line to the web.config

    <add key="vs:EnableBrowserLink" value="false" />
    
    
    For further reading refer

    http://stackoverflow.com/questions/19513631/radgrid-rendering-differently-in-different-machine-of-100-same-application-when

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