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

LoadContentFrom Issues

1 Answer 113 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.
Brian Mains
Top achievements
Rank 1
Brian Mains asked on 01 Dec 2009, 02:35 AM
Hello,

Is this a valid statement in the Items builder action method:

items.Add().Text(

"Second").LoadContentFrom("DynamicContent", "TabStrip")

 

.ImageUrl(Url.Content(

"~/Content/icon.png"));

 


The LoadContentFrom portion tried to load from the controller, but return a 404 error.  But it does exist:

public

 

class TabStripController : Controller

 

{

 

 

public ActionResult DynamicContent()

 

{

 

return Content("This is my dynamic content");

 

}

}

What does the LoadContentFrom method expect?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 01 Dec 2009, 02:46 PM
Hi Brian Mains,

Currently the LoadContentFrom requires link to an Action which returns partial view. For more information review this help topic.

Kind regards,
Georgi Krustev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
TabStrip
Asked by
Brian Mains
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or