Questions tagged [sitefinity-mvc]

6 questions
3
votes
1 answer

What object type is used for a single related image property in Sitefinity?

I've added a custom field to the news widget called RelatedImage which I want to display in a custom News List MVC template. Note: the custom field is a Related media (images, videos, files) field with the limitation of "Multiple images can be…
Jacques
  • 6,936
  • 8
  • 43
  • 102
2
votes
2 answers

How to debug Sitefinity MVC Widget

I am trying to debug a MVC widget in sitefinity 8 but the debugger doesn't hit the breakpoint. The widget works but I cannot debug it. What is wrong? It seems like sitefinity compiles the widget first then renders the compiled one at run time. Am I…
Behrooz
  • 243
  • 2
  • 14
1
vote
1 answer

Sitefinity Widget Designer not saving values

Created a custom widget in Sitefinity MVC, with a custom widget designer:
Randy Hall
  • 7,716
  • 16
  • 73
  • 151
0
votes
0 answers

Sitefinity 14.4 MVC - Multiple CTA Link List Using Autogenerated Field for Designer View

When using autogenerated widget properties of type array LinkModel in a complex object property of the Controller in MVC widgets (usually the Model of the widget), the properties are always null. Other simple types like strings or integers are…
0
votes
0 answers

ASP.NET MVC - How to load static code (content) from another class or control?

I am new to MVC and I can't seem to find the answer I am looking for, probably because of not using the correct terminology to search. I am trying to load a static menu navigation in my ASP.NET MVC View (which is a widget template in Sitefinity…
hnnnng
  • 481
  • 4
  • 21
0
votes
2 answers

How to integrate my code into a sitefinity project

We have a sitefinity Customer Portal. Now we need to add MVC pages to it. I understand how to add a page, and how to drag e.g. a list to the page's content. But I don't understand how I can create a controller and other c# code to populate the list…
David Shochet
  • 5,035
  • 11
  • 57
  • 105