[CLOSED] MVC PartialExtView

Page 4 of 5 FirstFirst ... 2345 LastLast
  1. #31

    RE: [CLOSED] MVC PartialExtView

    Works for me, thanks vladimir.

    I'll work through it tonight and see if I find anymore troubles.


    Cheers,
    Timothy
  2. #32

    RE: [CLOSED] MVC PartialExtView

    vladimir (2/10/2010)Hi Sandor,

    I cannot reproduce the problem.

    I found one problem only: you have to render to the body of the panel
    containerId: Panel1.body.id
    In my case it has to be Panel1.id, otherwise I get 'Ext is not defined'.

    But that's only the second time I press the button, the first time I always get the exception I mentioned (Ext.Net.ResourceManager does not implement IHttpHandlerFactory or IHttpHandler) from one or more resource request.

    The exception also lists a part of the Web.Config file, marking the following line in red:

    <add path="*/ext.axd" verb="*" type="Ext.Net.ResourceManager" validate="false" />
    So, it does not hit any of my code.

    When I set the 'validate' attribute to 'true', it immediately gives exactly the same error, immediately upon running the project. Perhaps you can see if you can reproduce that?

  3. #33

    RE: [CLOSED] MVC PartialExtView

    Hi,

    You cannot render inside Panel, panel's body is allowed only.
    'Ext is not defined' cannot be related with Panel1.body.id


    Can you create simple project which demonstrates all of those issues, zip and post it? Please do not attach Ext.Net assemblies. Thanks

  4. #34

    RE: [CLOSED] MVC PartialExtView

    Hi,

    I have added one fix (add correct cache buster for url). Please update base toolkit and extnet-mvc
  5. #35

    RE: [CLOSED] MVC PartialExtView

    Thanks.

    That update didn't solve my problem though.

    I've attached a simple project that reproduces the problem on my system. You have to push the button twice to have it open the window.

    By the way, if you remove the FormGroup="True" attribute from the panel inside the window, the problem goes away.

    Cheers,
    Sandor.
  6. #36

    RE: [CLOSED] MVC PartialExtView

    Hi Sandor,

    Thank you for your example.


    1. As I mentioned you have to render to the body
    containerId: #{ModalWindowPanel}.body.id

    2. I found the reason of that error. In the web.config need to replace ResourceManager by ResourceHandler
    <add path="*/ext.axd" verb="*" type="Ext.Net.ResourceHandler" validate="false"/>
  7. #37

    RE: [CLOSED] MVC PartialExtView

    Wow, it finally works now!

    I tried your suggestion to change the handler to ResourceHandler. At first it gave me many more errors until I figured that I was missing this in my global.asax.cs:

    routes.IgnoreRoute("{exclude}/{extnet}/ext.axd");
    After adding that (strange how my app could work without that to a certain extent) everything fell into place.

    One last thing, using body.id still doesn't work for me, just .id does so there's no problem there but it's surely strange...
  8. #38

    RE: [CLOSED] MVC PartialExtView

    This thread kinda got hijacked away from the original topic. Can we get a status report on the Ext/MVC PartialView functionality?

    Geoffrey McGill
    Founder
  9. #39

    RE: [CLOSED] MVC PartialExtView

    You can mark this one solved. Any additional items I will address in new submissions.

    Thanks vladimir for your hard work.


    Cheers,
    Timothy
  10. #40

    RE: [CLOSED] MVC PartialExtView



    Hello

    I have tested this example with MVC2 and it doesnt work. Since I will later try this approach to load DesktopWindows on runtime I'm wondering if someone got it to work with mvc 2?

    thank you
Page 4 of 5 FirstFirst ... 2345 LastLast

Similar Threads

  1. [CLOSED] PartialExtView Button Listener
    By Timothy in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: May 04, 2012, 3:47 PM
  2. [CLOSED] PartialExtView and Icons
    By Timothy in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: May 04, 2012, 1:39 PM
  3. [CLOSED] PartialExtView
    By Timothy in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: May 04, 2012, 1:32 PM
  4. [CLOSED] PartialExtView GridPanel Title
    By Timothy in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: May 03, 2012, 7:09 PM
  5. [CLOSED] PartialExtView and Razor
    By Timothy in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: May 03, 2012, 3:13 PM

Posting Permissions