Ext.Net 2.0 and MvcPaging

  1. #1

    Ext.Net 2.0 and MvcPaging

    Hi, I download and try Ext.Net2.0 at VS2012 with MVC4. In a View (Grid.cshtml) with out any Ext.net component, Just MS webGrid, MvcPaging can't work!
    How can I fix it?
  2. #2

    Ha, Fix it by myself!

    Quote Originally Posted by davidhsu View Post
    Hi, I download and try Ext.Net2.0 at VS2012 with MVC4. In a View (Grid.cshtml) with out any Ext.net component, Just MS webGrid, MvcPaging can't work!
    How can I fix it?

    After check it carefully.I solved this problem. Point is Config file! At <runtime> section .NuGet set it to -->
    <dependentAssembly>
            <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />     
            <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
            <bindingRedirect oldVersion="1.0.0.0-4.0.0.0" newVersion="4.5.7" />    
            <assemblyIdentity name="Ext.Net.Utilities" publicKeyToken="2c34ac34702a3c23" />
            <bindingRedirect oldVersion="0.0.0.0-2.0.0" newVersion="2.0.1" />        
          </dependentAssembly>
    But it should be -->

    <dependentAssembly>
            <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
          </dependentAssembly>
          <dependentAssembly>      
            <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" />
            <bindingRedirect oldVersion="1.0.0.0-4.0.0.0" newVersion="4.5.7" />
          </dependentAssembly>
          <dependentAssembly>      
            <assemblyIdentity name="Ext.Net.Utilities" publicKeyToken="2c34ac34702a3c23" />
            <bindingRedirect oldVersion="0.0.0.0-2.0.0" newVersion="2.0.1" />        
          </dependentAssembly>

    Hope It can help someone .
    Last edited by geoffrey.mcgill; Nov 04, 2012 at 11:48 AM. Reason: please use [CODE] tags
  3. #3
    Hi davidhsu,

    Can you tell us what version of NuGet, Visual Studio and OS you are/were using when you installed Ext.NET?
    Geoffrey McGill
    Founder
  4. #4
    Quote Originally Posted by geoffrey.mcgill View Post
    Hi davidhsu,

    Can you tell us what version of NuGet, Visual Studio and OS you are/were using when you installed Ext.NET?
    OS: win 7 Pro
    vs2012 premium
    Package Manager Console : 2.1.31002.9028

Tags for this Thread

Posting Permissions