@(Ext.Net.Html.X().Window() NullPointerException

  1. #1

    @(Ext.Net.Html.X().Window() NullPointerException

    Click image for larger version. 

Name:	NullPointer.jpg 
Views:	65 
Size:	77.8 KB 
ID:	24039


    The exception of the image shown above takes place when I run my project.

    Some things I have noticed but not sure they're related to the problem

    1.- I have to prefix "Ext.Net.Html.X()" each time , It doesn't recognize "Html.X()"
    1.- "@Ext.Net.Html.X().ResourceManager().Theme(Theme.G ray)" does not exists
    "@Ext.Net.Html.X()" does not contain ResourceManager(). , so i didn't include that sentence in my .cshtml

    Whatever detail that¿s missing. Please let me know
  2. #2
    Hi @diegonet,

    There should be this in Web.config.
    <system.web.webPages.razor>
      ...
      <pages ...>
        <namespaces>
          ...
          <add namespace="Ext.Net"/>
          <add namespace="Ext.Net.MVC"/>
        </namespaces>
      </pages>
    </system.web.webPages.razor>

Similar Threads

  1. Replies: 5
    Last Post: Jun 20, 2018, 1:53 PM
  2. [CLOSED] Loader with Html renderer and Window rendering
    By paulc in forum 2.x Legacy Premium Help
    Replies: 33
    Last Post: Jun 25, 2013, 7:43 AM
  3. Window - set body html on client side
    By Tbaseflug in forum 1.x Help
    Replies: 0
    Last Post: Feb 01, 2012, 6:59 PM
  4. [CLOSED] Load html in window to print an image.
    By stoque in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Dec 03, 2011, 10:37 AM
  5. Change Window html via JavaScript
    By mrozik in forum 1.x Help
    Replies: 1
    Last Post: Mar 03, 2009, 5:34 AM

Posting Permissions