Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ranjit J. Vaity 66 posts 109 karma points
    Apr 20, 2012 @ 15:13
    Ranjit J. Vaity
    0

    Creating Custom Controller to handle logic and output using Umbraco templates (pages)

    Hello,

    Actually I am looking forwarded to implement "Employee Time Tracking" Application (ETT) using Umbraco 5 and MVC3. Where in Text, images and other controls will be displayed using Umbraco and Employee Time Tracking functionality using MVC. From web resources I got to know, I need to use SurfaceController to have show ETT on Umbraco page using PartialViewResult.

    I followed the link: http://stackoverflow.com/questions/9278541/umbraco-5-passing-data-from-controller-to-view/10246693#10246693 and started implemention. I am getting an error

    The model item passed into the dictionary is of type 'Umbraco.Cms.Web.Model.Content', but this dictionary requires a model item of type 'Umbraco.Cms.Web.Model.PartialViewMacroModel'.

    I just started with MVC but have good hands on Previous Umbraco versions.
    Please guide me to right direction to have my models and Controllers work with Umbraco pages.

    Thank you for your time. :)

    Always Thankful to Umbraco Community,

    Ranjit J. Vaity

Please Sign in or register to post replies

Write your reply to:

Draft