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.
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.
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
is working on a reply...