Visual Basic .NET » Internet / Hardware Communication
Unexplained error -- MrBean --


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

-- MrBean --


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

-- AmanSharma --

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:


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
>


 

[Submit Comment]Home