locked
How to create Ajax View in Orchard? RRS feed

  • Question

  • I create it with partial view, but in result applied theme and add to response header and footer
    Thursday, October 21, 2010 3:14 PM

Answers

All replies

  • Did you try removing the Themed attribute from the controller?
    Sunday, October 24, 2010 6:46 AM
  • Yes, i try it. In this case view engine can not find my partial view (it in ~/mymodule/views/ folder). 
    Sunday, October 24, 2010 2:45 PM
  • You can apply a Themed(false) attribute to the controllers or controller actions which should not get part of the theming process.
    Monday, October 25, 2010 2:37 PM
  • You can apply a Themed(false) attribute to the controllers or controller actions which should not get part of the theming process.

    If I applied Themed(false) attribute and following exception throwing:

    The view 'PriceSearchResult' or its master was not found. The following locations were searched:

    ~/Areas/MyModule/Views/MyController/PriceSearchResult.aspx

    ~/Areas/MyModule/Views/MyController/PriceSearchResult.ascx

    ~/Areas/MyModule/Views/Shared/PriceSearchResult.aspx

    ~/Areas/MyModuleViews/Shared/PriceSearchResult.ascx

    ~/Views/MyController/PriceSearchResult.aspx

    ~/Views/MyController/PriceSearchResult.ascx

    ~/Views/Shared/PriceSearchResult.aspx

    ~/Views/Shared/PriceSearchResult.ascx

     


     

     

    Tuesday, October 26, 2010 3:22 PM
  • Are you using Orchard 0.8?
    Monday, November 8, 2010 10:27 PM
  • I'm going to close this thread for lack of response to my previous question. Please reopen if necessary.
    Friday, November 12, 2010 6:58 PM
  • Hello,

    did you solve this issue? I am having the same problem.

    Thanks,

    Jakub

    Monday, April 8, 2013 5:16 AM