This is a migrated thread and some comments may be shown as answers.

[Solved] tabstrip bind to model + loadcontentfrom

1 Answer 138 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alden
Top achievements
Rank 1
Alden asked on 30 Dec 2011, 07:14 AM
Hi,

I am trying to both bind a tabstrip to a model and use load on demand.  I have a tabstrip bound to a model like this:
@{ Html.Telerik().TabStrip()
    .Name("Skills")
    .BindTo((IEnumerable<string>)ViewData["tsvd"],
    (item, navData) =>
    {
        item.Text = navData;
        // following method doesn't exist
        item.LoadContentFrom("Skills", "People", new { skill = HttpUtility.UrlEncode(navData) });
    })
    .Render();
}
I want to call LoadContentFrom, but I don't see how to do it.  How is this done?

Thanks!

AldenG

1 Answer, 1 is accepted

Sort by
0
Alden
Top achievements
Rank 1
answered on 30 Dec 2011, 07:27 AM
It's ContentUrl.  Found the answer in this post.
Tags
TabStrip
Asked by
Alden
Top achievements
Rank 1
Answers by
Alden
Top achievements
Rank 1
Share this question
or