MVC Sitemap parameters

Jul 29, 2013 at 3:43 AM
Edited Jul 29, 2013 at 8:59 AM
Hi Sir/Madam,
I has problem for paramester:
page2>page3>page4

[MvcSiteMapNode(Title = "Trang 3- Chào đón", Key = "KeyPage3", ParentKey = "KeyPage2", PreservedRouteParameters = "UserName")]
    public ActionResult Page3(string UserName)
    {
        ViewBag.ten = UserName;
        return View();
    }
[MvcSiteMapNode(Title = "Trang 4 - Tạm biệt", Key = "KeyPage4", ParentKey = "KeyPage3", PreservedRouteParameters = "UserName")]
   public ActionResult Page4(string UserName)
   {
       ViewBag.ten = UserName;
       return View();
   }
Page2 invoke page3 with parameter "Username",page3 invoke page4 with the same parameter. When I callback sitemap page3, "Username" not display as page2 invoke page3.
But I don't want to rename parameter.
Thank you very much for helping,