Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi all,
Has anyone managed to use strongly typed models in their controllers using uCreate?
Thanks
A
Hi
Try this Firstly add app setting in your web.config file.
This tells UCreate to sync your doc types, media types, data types, member types and member groups on application start.
<appSettings> ... <add key="UCreateSyncEnabled" value="true" /> ... </appSettings>
hope this help
Regards,
Samira
Thanks Samira.
I already have that setting configured. I have seen lots of examples of using strongly typed models in Views. However, I have seen no examples of using strongly type models within Controllers.
Is a simple conversion like the following enough:
var page = CurrentPage as HomePage
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Strongly typed models in controller - uCreate
Hi all,
Has anyone managed to use strongly typed models in their controllers using uCreate?
Thanks
A
Hi
Try this Firstly add app setting in your web.config file.
This tells UCreate to sync your doc types, media types, data types, member types and member groups on application start.
hope this help
Regards,
Samira
Thanks Samira.
I already have that setting configured. I have seen lots of examples of using strongly typed models in Views. However, I have seen no examples of using strongly type models within Controllers.
Is a simple conversion like the following enough:
var page = CurrentPage as HomePage
is working on a reply...