Author: levidad | Posted on: 12/16/2008 10:05:44 AM | Views : 590

Hi guys,



First let me say I've googled enough for this and all I've seen so far doesn't solve my problem.



The thing is: I'm using the codeBehind model, and I have a server control declared in my aspx file. When I try to build my web application, the compiler complains saying something like 'xxx' does not exist in the current context. Then I try to add a reference for that control in the codeBehind. This allows my web app to compile, but then it throws this CS0102 error at runtime, like the control declaration is duplicated... and this happens for a lot of pages!!!



This is clearly not like I should just go and rename what I added in the codeBehind so that it doesn't clash with my server control definition in the aspx file, something like this article describes: msdn.microsoft.com/en-us/library/26f2y168(VS.80).aspx



So, what am I supposed to do?



Thanks in advance! ...

Go to the complete details ...