How to Delete Widget in Console?

May 14, 2011 at 4:36 PM

I have created a widget named "ClubInfo" in “Club” category, but for some reason, i need to delete this widget.

But even I delete the controller for "ClubInfo", it still shows in "Club" category under "Console -> widget" in front page. and also while click "discover", program will get crash~~

what steps do I need to follow with? Please advise...

 

Thanks!!!

 

Edison

(angchengsh@gmail.com)

Coordinator
May 14, 2011 at 4:47 PM

1.When "Discover" method call DotNetAge will find all available widgets and generate the Widget definition and save it on your DotNetAge widgets folder. (You could read this document to learn how does the widget works: http://www.dotnetage.com/sites/home/getting-started-with-dna2-part1.html)

2.If you delete the Controller or Action DotNetAge will do nothing.

In order to delete the widget please follow these steps:

1.Go to widget manager and find your widget 

2.Ensure the widget is not in use.(If the widget is in using, please delete the widget instance on page first.)

3.Unregister the widget

4.Go to widgets folder and delete the your widget folder (ex: ~/Content/Widgets/Club/ClubInfo)

May 14, 2011 at 5:16 PM

will try it, thanks for postback!