|
|
| View previous topic :: View next topic |
| Message |
|
Author
|
MrBean
Newbie
|
Joined: 12 Jul 2006
Posts: 2
|
|
Posted: Wed Jul 12, 2006 1:00 pm
Post subject: Unexplained error |
|
|
Hello, am working on a C# asp.net web application using visual studio 2005 team edition. IN some pages when i add new controls to the html page by dragging and droppping from the toolbox, I could access and minipulate these controls like any other contrrols hpowever when i compile i receive errors that controlx doesnt exist in the current context knowing thaat if i do this.c i can see my control listed..
Please also note that the comilation errors doesnt prevent the page from running, the page will be comiled and could be run like any other but i just hate to see compilation errors,,, any ideas? thanks
|
| Back to top |
|
 |
|
Author
|
MrBean
Newbie
|
Joined: 12 Jul 2006
Posts: 2
|
|
Posted: Thu Jul 13, 2006 4:00 am
Post subject: |
|
|
Hello, am working on a C# asp.net web application using visual studio 2005 team edition. IN some pages when i add new controls to the html page by dragging and droppping from the toolbox, I could access and minipulate these controls like any other contrrols hpowever when i compile i receive errors that controlx doesnt exist in the current context knowing thaat if i do this.c i can see my control listed..
Please also note that the comilation errors doesnt prevent the page from running, the page will be comiled and could be run like any other but i just hate to see compilation errors,,, any ideas? thanks
|
| Back to top |
|
 |
|
Author
|
AmanSharma
Newbie
|
Joined: 12 Jul 2006
Posts: 15
|
|
Posted: Thu Jul 27, 2006 1:00 pm
Post subject: |
|
|
whenever u drag and drop any control from tool box .net initilize them in code behind.
Sometimes it doesnt initilize that control. Now if u compile application it gives errors.
Solution is that u initilize it urself there in code behind.
On 7/12/06, Mr. Bean <mkhiami> wrote:
| Quote: |
Hello, am working on a C# asp.net web application using visual studio
2005 team edition. IN some pages when i add new controls to the html
page by dragging and droppping from the toolbox, I could access and
minipulate these controls like any other contrrols hpowever when i
compile i receive errors that controlx doesnt exist in the current
context knowing thaat if i do this.c i can see my control listed..
Please also note that the comilation errors doesnt prevent the page
from running, the page will be comiled and could be run like any other
but i just hate to see compilation errors,,, any ideas? thanks
>
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|