MVC + WecPof

CapableObjects Forums SupportForum MVC + WecPof

This topic contains 7 replies, has 2 voices, and was last updated by  egs99 21 hours, 24 minutes ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #5051 Score: 0

    egs99
    Participant

    I’m trying to use htmlhelpers – DisplayWecpofActions, DisplayWecpofUIBootstrap,
    But I do not see them from class MvcRazorHtmlHelper.
    Where did they disappear?
    Example MVC5_2014_GitTemplateAmp does not work.
    Thahks

    #5068 Score: 0

    Lars
    Participant

    Hi,

    Sorry about the inconvenience, we’re restructuring the entire MVC rendering engine in Turnkey.
    We are moving away from generating complete HTML to rendering Razor-code that is then inserted into the “surrounding” Razor page.

    Because of this, the function “DisplayWecpofUIBootstrap” does not exist any more.
    Instead, you call Html.RenderRazorView(). You’ll then get a file name, which you use for a @Html.Partial()
    Like this: @Html.Partial(Html.RenderRazorView())
    If you want the Html, not the virtual file name, you can call Html.MVCUITurnkeyViewOverride(). You then need to use the Html like this HttpUtility.HtmlDecode(html from MVCUITurnkeyViewOverride);

    I’m sorry that I can’t provide a better answer today. It’s because we’re still restructuring the internal code to separate layout rendering from data binding. This will make it much easier in the future to do both server and client data binding using the same HTML.

    Regards,
    Lars

    • This reply was modified 2 weeks ago by  Lars.
    #5121 Score: 0

    egs99
    Participant

    Any sources (examples of using)?

    #5123 Score: 0

    Lars
    Participant

    Hi,

    The best way to get working source code at the moment is to use Turnkey’s Developer help pages. There you can see generated code from you viewmodels. You can install in Azure or a local IIS and then navigate to /MDriven/Development.

    Read more here: https://wiki.mdriven.net/index.php/Development_info_in_runtime

    When the internal structure has stabilized we will provide more examples.

    Regards.
    Lars

    #5126 Score: 0

    egs99
    Participant

    Hi
    Thanks a lot!

    Regard.
    Seg

    #5127 Score: 0

    egs99
    Participant

    Hi!
    I’d like to use third party components with MVC – Turnkey
    For example ext.net: http://mvc.ext.net/
    How can i do it (simplest way)
    Best regards
    Seg

    #5129 Score: 0

    egs99
    Participant
    #5130 Score: 0

    egs99
    Participant

    How can i do it (simplest way)?

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Comments are closed.