30 Mar 2011 8:17 AM #1
[PR5] Portal not working properly
I took the code from the portal example of preview 5. I modified it, so that the portal extends from Ext.Panel instead of Ext.Viewport. I think that shouldn't be a problem.
When I create this portal (then it gets rendered into a view port) Firefox tells:
[Ext.Loader][not enabled] Missing required class: Ext.app.Portal
Does it have something to do with MVC 3 (VS 2010) that I'm using? I also tried this within a normal aspx page. This works correctly in both browsers.
I attached the solution if you are interested in this 'issue'.
/Views/Shared/_Layout.cshtml contains all the script referencing, including the final "page script" which creates the portal.
/Home is the MVC page that only works in IE.
/WebForms1.aspx is the default aspx page that works in FF, too.
I removed the ExtJS folder from the project due to file size. It's the original ExtJS download that I included into the project.
31 Mar 2011 12:49 AM #2
I started a new project using the new ExtJS 4 Beta 1 release.
Now it seems to work everything, also in MVC 3 mode and normal Web Forms.
I saw that the MVC view defined an HTML doctype, which I removed because I read somewhere that this might cause some problems with ExtJS 4..
After I removed the doctype, just defining clear "html - head - body" tags everything worked fine.
Tried to upload the new demo project, but failed to upload, 440 kb (unknown error).
By gauravk in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 8 Jun 2009, 2:03 AM
By watrboy00 in forum Ext 2.x: BugsReplies: 9Last Post: 16 Apr 2009, 8:12 AM
By ibaniski in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 7 Feb 2008, 6:44 AM
By Cyberangel67 in forum Ext 1.x: Help & DiscussionReplies: 4Last Post: 4 Aug 2007, 6:14 PM