[CLOSED] [#505] Mixing MVC and non-MVC Ext v2x

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [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:
          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]

Similar Threads

  1. [CLOSED] RowExpander mixing up data in IE8
    By HansWapenaar in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 20, 2013, 12:34 PM
  2. [CLOSED] Mixing Container Items and Content
    By sisa in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Aug 23, 2012, 1:05 PM
  3. Replies: 1
    Last Post: Mar 17, 2009, 1:17 AM
  4. EnablePageMethods & Mixing managers..
    By alexandern in forum Open Discussions
    Replies: 2
    Last Post: Jun 06, 2008, 4:53 PM

Posting Permissions