+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Unable to use Viewbag in Controllers in Sitefinity7.0

Unable to use Viewbag in Controllers in Sitefinity7.0

2 posts, 0 answered
  1. Sunny
    Sunny avatar
    9 posts
    Registered:
    22 Nov 2011
    28 Jul 2014
    Link to this post
    I am unable to use ViewBag property in Controller in Sitefinity. 
  2. Nikola Zagorchev
    Nikola Zagorchev avatar
    424 posts
    Registered:
    24 Nov 2016
    30 Jul 2014
    Link to this post
    Hi Sunny,

    Could you please specify your Sitefinity version and what error do you receive? Please, ensure you have also added a reference to the Microsoft.CSharp assembly in your project.

    Regards,
    Nikola Zagorchev
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
2 posts, 0 answered