By Lee Sykes
March 2007
In previous skinning tutorials, when working with pure CSS skins, we recommended to remove the Solpart Menu from a container and to use the [DROPDOWNACTIONS] token instead as it provides a performance benefit.
In the latest version of DotNetNuke 4.4.1 there is currently a bug with the [DROPDOWNACTIONS] token:
An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Containers.DropDownActions.Page_Load(Object sender, EventArgs e) in D:\DotNetNuke\Website\Admin\Containers\DropDownActions.ascx.vb:line 68 at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
There is however a simple fix.
I noticed when I was
upgrading DNN Creative Magazine from v3.2 to v4.4 that the [DROPDOWNACTIONS] token was working correctly, whereas in a fresh installation of DotNetNuke v4.4 the [DROPDOWNACTIONS] token did not work.
The answer was simple, the following file: DotNetNuke.DNNDropDownNavigationProvider.dll was not included with the v4.4 installation files and so the [DROPDOWNACTIONS] token no longer worked. Hopefully, in the future releases of DotNetNuke this will be fixed and the file will be included with the installation files.
In order to enable the [DROPDOWNACTIONS] token to work again in v4.4.1:
- Download the dll file from the link at the bottom of this page
- Go to your DotNetNuke installation files and open the /bin folder
- Upload the dll file into the /bin folder
- The drop-down actions token should now work
NOTE: The dll file that is included here for download is from the source version of DotNetNuke v4.4.1, we have just included the file here to save you the time of downloading the source files of DotNetNuke v4.1.1 and extracting the file.
Make sure you test and backup your files before implementing this on a live site incase any problems occur. We take no responsibility if any errors occur after uploading this file.