I am having problems with Radtreeview and Whale Intelligent Application Gateway VPN. VPN acts as a proxy server and all request handled by it. When I conneted directly to web site no problem about ajax calls on radtreeview but over VPN ajax doesn't work. I searched for the problem and found that radtreeview ajax call paths are wrongif I connect over vpn. For example, when I connect the site directly (http://site.com/directory), there is no problem. But over VPN (redirects to https://vpnsite.com/whalecomb6cde8cb45a6deaaa6897890b9294a9f08f85c/whalecom0/directory/ when I login) it doesn't work. Ajax calls on VPN still uses http://site.com/directory URL even I have set AjaxUrl property to full path;
RadTreeView1.AjaxUrl = "http://" + Request.ServerVariables["SERVER_NAME"].ToString() +
":" + Request.ServerVariables["SERVER_PORT"].ToString() + Request.CurrentExecutionFilePath;
The site should work both directly and over VPN.
Has anyone experienced this kind of problem or has any suggestion?