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

Forums / Developing with Sitefinity / Error when deploying updated widget

Error when deploying updated widget

3 posts, 0 answered
  1. Zach
    Zach avatar
    5 posts
    Registered:
    15 Jul 2014
    13 Aug 2014
    Link to this post

    I'm trying to update a widget and deploy it out to our dev server.  I can get the widget running successfully on a local copy of the site, but when I copy it out to dev and register it, I get the following error: 

    ~~~\Widgets\CompletedReports_New\CompletedReports.ascx(16): error CS1061: 'ASP.widgets_completedreports_new_completedreports_ascx' does not contain a definition for 'RadGrid1_NeedDataSource' and no extension method 'RadGrid1_NeedDataSource' accepting a first argument of type 'ASP.widgets_completedreports_new_completedreports_ascx' could be found (are you missing a using directive or an assembly reference?)

    Any ideas on what I can try?  Am I missing something?

    Thanks!

  2. Sabrie Nedzhip
    Sabrie Nedzhip avatar
    534 posts
    Registered:
    08 Dec 2016
    18 Aug 2014
    Link to this post
    Hello Zach,

    Can you please refer to the following article where the same issue has been discussed and try the solutions suggested there.

    In addition, can you please make sure that you have attached properly to the NeedDataSource event in the markup and in the code behind. Please also make sure that you have registered the Telerik.Web.UI namespace in the markup:

    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>


    Regards,
    Sabrie Nedzhip
    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
     
  3. Zach
    Zach avatar
    5 posts
    Registered:
    15 Jul 2014
    18 Aug 2014 in reply to Sabrie Nedzhip
    Link to this post

    Hi Sabrie,

    The issue was that I hadn't rebuilt the project out on the DEV server.  Once I did that, the widget loaded properly.  Thanks for your response!

3 posts, 0 answered