Dec 03, 2009, 12:14 PM
[FIXED] [1.0] Autoload Url does not resolve virtual paths
Hi,
I use MVC and I can use the tilde in url of direct events, e.g.:
It is particularly a problem in MVC application because if my application address is e.g. http://localhost/MyApp, then e.g. /Home/Data resolves to http://localhost/Home/Data instead of http://localhost/MyApp/Home/Data. The problem can also be seen in the Ext.NET MVC application e.g. when I run the site in IIS and set Project URL e.g. to http://localhost/Ext.Net.MVC.
Regards,
Tadeusz
I use MVC and I can use the tilde in url of direct events, e.g.:
<DirectEvents>
<Click Url="~/Auth/LogOut">
</Click>
</DirectEvents>
and e.g. in Url attribute of FormPanel and it all resolves well. Unfortunately, I can't do that in Url attribute of AutoLoad element. I'm not sure at the moment about HttpProxy, but I think it might not resolve urls too.It is particularly a problem in MVC application because if my application address is e.g. http://localhost/MyApp, then e.g. /Home/Data resolves to http://localhost/Home/Data instead of http://localhost/MyApp/Home/Data. The problem can also be seen in the Ext.NET MVC application e.g. when I run the site in IIS and set Project URL e.g. to http://localhost/Ext.Net.MVC.
Regards,
Tadeusz