DNN 2.1.2 Source Errors in SolPartMenu.ascx.vb

Last post 06-17-2004 11:25 PM by mikebol. 2 replies.

Sort Posts:

  • DNN 2.1.2 Source Errors in SolPartMenu.ascx.vb

    06-17-2004, 9:38 PM
    • Member
      507 point Member
    • mikebol
    • Member since 04-30-2004, 12:04 PM
    • Dallas, GA
    • Posts 104
    I've downloaded the source for DNN 2.1.2 a few days back. There are two lines in the Page_Load that generate syntax errors:

    objMenuItem.ItemSelectedCss = [rootmenuitemselectedcssclass]

    The above line (occurs twice) generates a syntax (build) error because the MenuItem does not contain an ItemSelectedCss property.

    In the AddSeperator Sub, the line below also generates a syntax (build) error because the AddBreak function only takes one parameter, not TWO.

    objBreak = ctlMenu.AddBreak(strParent, strSeparator)

    Anyone else run into this? Suggested fix?

    Thanks!

    Mike
  • Re: DNN 2.1.2 Source Errors in SolPartMenu.ascx.vb

    06-17-2004, 10:11 PM
    • Star
      13,100 point Star
    • JWhite
    • Member since 06-26-2002, 10:30 AM
    • New York
    • Posts 2,616
    then your project is not refrencing the new solpart menu dll. the new version does have that property. drop and readd the refrence to the dll (it's in /controls/solpartmenu/bin)
  • Re: DNN 2.1.2 Source Errors in SolPartMenu.ascx.vb

    06-17-2004, 10:55 PM
    • Member
      507 point Member
    • mikebol
    • Member since 04-30-2004, 12:04 PM
    • Dallas, GA
    • Posts 104
    Yep, that was it... The new project had found the old assembly in the 2.0.4 source directory tree instead. Removing and adding fixed it.

    Thanks Jeremy!

    Mike
Page 1 of 1 (3 items)