This is a migrated thread and some comments may be shown as answers.

RadSlidingPane - Cannot reference controls

1 Answer 44 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
David Marley
Top achievements
Rank 1
David Marley asked on 19 Oct 2009, 07:37 PM
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?

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 22 Oct 2009, 12:29 PM
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,
Svetlina
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.
Tags
Calendar
Asked by
David Marley
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or