SiteMapTitle and nested classes in returned object

Sep 20, 2009 at 3:10 AM

hey i have a method like this

        [SiteMapTitle("Album.Title")]
        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.

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