Page layout& redirection RRS feed

  • Question

  • Hello everyone, 

    I have a pagelayout and inside this layout I have added aspx which contains redirection. 

    In addition to this, I added a web part inside this pagelayout and it contains button. 

    so here is the case; 

    when I click the button (even it doesnt do anything) , the page gives me error which is; 

     Microsoft.SharePoint.Publishing.TemplateRedirectionPage.ComputeRedirectionVirtualPath(TemplateRedirectionPage basePage) 

    so, It can't finds the item. any sugesstions?

    Monday, August 5, 2013 8:40 AM


  • Problem solved, I was showing items by splistitems in pagelayout, instead of using it, I write a control for showing these items with render method. By this way, I can get my list items when button cliked and give me no error. 
    • Marked as answer by Sultannur Can Tuesday, August 20, 2013 8:06 AM
    Tuesday, August 20, 2013 8:06 AM