Mega Menu in Corporate site

Celero Solutions asked on June 2, 2014 11:11

Hi, I'm looking at the Mega Menu that is with the Corporate site (version 7.0.48). It uses a hierarchial viewer with a hierachial transformation. There were a number of errors specifically "'object' does not contain contain a definition for 'Parent' and no extension method 'Parent' accepting a first argument type of 'object' could be found". I found the article http://devnet.kentico.com/articles/creating-a-mega-menu-using-hierarchical-transformations. So I replaced all the transformations with what was described in the article and received more errors. It basically printed out the transformation code. I attached an screenshot of what I'm seeing. I changed the megamenusublevelfirst transformation back to what it was previously so that's the first error you see in the screenshot. I left all of the other transformations as is from the article. Any ideas what the heck is going on? Image Text

Correct Answer

Jan Hermann answered on June 3, 2014 08:23

Hello,

according to your screenshot I would say you haven't specified your transformation types as Text/XML but you leave ASCX transformation type there instead.

Best regards, Jan Hermann

0 votesVote for this answer Unmark Correct answer

Recent Answers


Celero Solutions answered on June 3, 2014 09:09 (last edited on June 3, 2014 09:09)

Thanks Jan! I guess it would've been helpful if I read the article a little more closely ;).

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.