Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8901

Register the widget into the system using the RegisterWidget assembly attribute.

$
0
0
In the Tutorial MVC you have the actual file to be changed when creating the widget NumberWidget from tutorial. But on the Core version it does not say where to add this code [assembly: RegisterWidget(@LearningKit.Widgets.NumberWidget@, @Number selector@, typeof(NumberWidgetProperties), customViewName: @~/Components/PageBuilder/Widgets/NumberWidget/_NumberWidget.cshtml@)]I tried to add it in startup.cs or program.cs but it still does not work i cant make the widget appear on my Admin workspace. Can you help me. Thank you!

Viewing all articles
Browse latest Browse all 8901

Trending Articles