RadSlidingPane - Cannot reference controls

2 posts, 0 answers
  1. David Marley
    David Marley avatar
    1 posts
    Member since:
    Oct 2009

    Posted 19 Oct 2009 Link to this post

    I am using Visual Studio 2008 on Windows XP SP3.

    I have a RadGrid control within a RadSlidingPane and the page compiles fine. However, when I build the entire solution, I receive an error like this:

    'Page_Test' does not contain a definition for 'RadGrid1' and no extension method 'RadGrid1' accepting a first argument of type 'Page_Test' could be found (are you missing a using directive or an assembly reference?)

    I can compile the page manually and run without debugging, this only happens when I rebuild the entire solution. Also, it doesn't matter what controls are placed within the RadSlidingPane, I get the same behaviour. Can you help?
  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 22 Oct 2009 Link to this post

    Hi David,

    As far as I understand the problem you experience is not related to RadSlidingPane and referencing controls in it because you say that you get the error no matter the grid is in the pane or not. You also do not say that you experience this with other RadControls on the page which makes me think that the problem is not in the manner you have referenced the Telerik.Web.UI.dll. The only thing which I can assume without examining a reproduction demo is that in teh code-behind you have some incorrect or missing references to the Telerik.Web.UI namespace or subnamespaces - please examine teh code-behind and especially the grid-related code and try ti find teh issue there.

    IN case this does not help, please open a new support ticket and send us a sample, fully runnable reproduction demo along with the Web.config file  and the Bin folder and we will examine it and we will do our best to help.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top