SiteMapTitle and nested classes in returned object

Sep 20, 2009 at 4:10 AM

hey i have a method like this

        public ActionResult Show(int id)
            FormViewData formViewData = GetFormViewData(id);
            return View(formViewData);

now i have in the formViewData a class which named Album and i want to get the title from it but i get a null in line 49 in SiteMapTitleAttribute in fliters.

propertyInfo is null.

i tryed to search on reflection and gettype() method but i couldnt solve it,

can you help me please.

Thank you.

Sep 23, 2009 at 7:56 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.