For the new version of the DNN Gallery module, I replaced its use of the SolPartMenu with DNNMenu both for the main gallery menu and the thumbnail context menus. In both cases, the menu control and its child nodes are dynamically created in code. While this works well in DNN 4.09.02, we are encountering differences in both rendering (not apparent visually but vastly different in the html source) and the handling of a click over a menu node's text when the gallery module is installed on a DNN 5.00.01 site. On DNN 5.00.01, clicking a menu node icon properly results in navigation to the url specified in the node's NavigateUrl property. However, clicking the menu node's text, results in a postback but no navigation.
I have set up the latest Gallery build on both a DNN 4.09.02 and a DNN 5.00.01 site to demonstrate what is happening. Hover over a gallery thumbnail and try clicking on the node's text. On the 5.00.01 site, a postback occurs but there is no navigation to the selected control. Click on the node's icon and all is well.
The test installs are located at:
DNN 4.09.02 site: http://www.wesnetdesigns.com/DNNGalleryTest/tabid/127/Default.aspx
DNN 5.00.01 site: http://www.men-on-fire.org/Gallery/tabid/72/Default.aspx
The gallery module install package is built with DotNetNuke.dll (v 184.108.40.206), DotNetNuke.WebControls.dll (v 220.127.116.1116) and DotNetNuke.WebUtility.dll (v 3.2.00) with SpecificVersion set to false in both references. If the gallery module is re-built (with no changes in code) against DotNetNuke.dll (v 18.104.22.168), DotNetNuke.WebControls.dll (v 2.0.337.0) and DotNetNuke.WebUtility.dll (v 4.0.337.0), and installed on a DNN 5.00.01 site, clicking over the menu node text or the icon work properly.
Jon, could you please take a look at this and offer suggestions as to what might be happening here? Let me know if you would like either a code snippet of how the menus/nodes are being constructed or the latest gallery source package. Thanks!