Access ViewData under Page Plugin?

May 23, 2010 at 7:18 AM

Hello

Could I access the ViewData under the page plugin?

  public class RenderContentTemplate : ControllerPluginBase
    {
        public override ActionResult PreGetExecute()
        {
           
            ViewData["aa"] = 123; <-- I want to create a view data here..           
            
            return base.PreGetExecute();
        }

 }

Regards

Alex