How to pass models via the kendo tabstrip mvc wrapper

2 posts, 0 answers
  1. Juan
    Juan avatar
    3 posts
    Member since:
    Nov 2011

    Posted 19 Feb 2014 Link to this post

    hi there,
    I've been trying to pass a model to a partial view that is accessed by a kendo tabstrip. but I cant get it to work. is this even possible?

    here is my view

            .Items(items =>
                    .Text("Computer <span class='k-state-active'></span>")
                    .Content(Html.Partial("_Computer", ComputerModel).ToHtmlString())  -> is there a way to pass the computer model to the partial view?                
                    .Text("User <span></span>")
  2. Daniel
    Daniel avatar
    2231 posts

    Posted 24 Feb 2014 Link to this post

    Hello Juan,

    Yes, this should be possible and the code that you provided looks OK. The model can be passed 
    to the Partial helper as in any other case. What problems are you experiencing with the code that you are currently using?

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top