Jun 03, 2014, 4:04 PM
[CLOSED] [#505] Mixing MVC and non-MVC Ext v2x
Is it possible, and what is correct way to use Ext.net MVC version in mixed environment (web forms and MVC)?
Can we install both versions from Nuget library and us them in the mixed environment?
We are encountering problems (rendering issues) when moving from an Ext MVC page back to an Ext webform page because of the following code:
We are currently using v2.4 and will not be able to upgrade until after our next release in late July.
Can we install both versions from Nuget library and us them in the mixed environment?
We are encountering problems (rendering issues) when moving from an Ext MVC page back to an Ext webform page because of the following code:
public static void MarkAsMVC()
{
if (HttpContext.Current.Application["Ext.Net.MVC.IsMVC"] == null)
{
HttpContext.Current.Application["Ext.Net.MVC.IsMVC"] = new object();
}
}
public static bool IsMVC
{
get
{
return HttpContext.Current.Application["Ext.Net.MVC.IsMVC"] != null;
}
}
Can this method and property below be changed to use Items collection instead of Application state, or is there a simple solution?We are currently using v2.4 and will not be able to upgrade until after our next release in late July.
Last edited by Daniil; Nov 07, 2014 at 9:48 AM.
Reason: [CLOSED]