Definition error
-
Hi, I'm having this error, 'Bsc_Test1.src.controls.cont' does not contain a definition for 'ChartTitle' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'gcolors' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'XAxisTitle' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'YAxisItems' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'YAxisValues' There definition is not writen in the back end code but it's in HTML of cont and cont is in folder src/controls. Please help me solve this. Thanks.
-
Hi, I'm having this error, 'Bsc_Test1.src.controls.cont' does not contain a definition for 'ChartTitle' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'gcolors' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'XAxisTitle' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'YAxisItems' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'YAxisValues' There definition is not writen in the back end code but it's in HTML of cont and cont is in folder src/controls. Please help me solve this. Thanks.
first of all tell me what is this... describe ur problem to get right answers, and quick help...
Ravi Kant Srivastava (System Analyst) HandsOn Technology & Engineering Gurgaon (India) e-mail:ravikant@hte.co.in
-
Hi, I'm having this error, 'Bsc_Test1.src.controls.cont' does not contain a definition for 'ChartTitle' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'gcolors' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'XAxisTitle' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'YAxisItems' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'YAxisValues' There definition is not writen in the back end code but it's in HTML of cont and cont is in folder src/controls. Please help me solve this. Thanks.
Please tell first What are you doing ? are you using User control in web application ?
-
Hi, I'm having this error, 'Bsc_Test1.src.controls.cont' does not contain a definition for 'ChartTitle' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'gcolors' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'XAxisTitle' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'YAxisItems' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'YAxisValues' There definition is not writen in the back end code but it's in HTML of cont and cont is in folder src/controls. Please help me solve this. Thanks.
-
Please tell first What are you doing ? are you using User control in web application ?
The Problem is that there is a Graph that has a definition That is in a folder 'src' the folder has a subfolder controls in control is an ascx file where a graph is difined using the html. Now the project has an aspx file 'NewGraph' where the ascx file is supposed to be excecuted. the code goes like public src.controls.cont dngchart; On Page_Load() // Set our axis values dngchart.YAxisValues = iValue; // Set our axis strings dngchart.YAxisItems = sItems; // the colors dngchart.gcolors=mags; // Provide a title dngchart.ChartTitle = "Inventory Breakdown:"; // Provide a title for the X-Axis dngchart.XAxisTitle = "(units display actual numbers)"; When I try to Copile I get this error: 'Bsc_Test1.src.controls.cont' does not contain a definition for 'ChartTitle' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'gcolors' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'XAxisTitle' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'YAxisItems' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'YAxisValues'. What could it be?
-
The Problem is that there is a Graph that has a definition That is in a folder 'src' the folder has a subfolder controls in control is an ascx file where a graph is difined using the html. Now the project has an aspx file 'NewGraph' where the ascx file is supposed to be excecuted. the code goes like public src.controls.cont dngchart; On Page_Load() // Set our axis values dngchart.YAxisValues = iValue; // Set our axis strings dngchart.YAxisItems = sItems; // the colors dngchart.gcolors=mags; // Provide a title dngchart.ChartTitle = "Inventory Breakdown:"; // Provide a title for the X-Axis dngchart.XAxisTitle = "(units display actual numbers)"; When I try to Copile I get this error: 'Bsc_Test1.src.controls.cont' does not contain a definition for 'ChartTitle' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'gcolors' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'XAxisTitle' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'YAxisItems' 'Bsc_Test1.src.controls.cont' does not contain a definition for 'YAxisValues'. What could it be?
If user control has no problem then check that you have register the user control properly and the Id of the usercontrol should be same as in aspx and aspx.cs ........ are you using VS2005/C# 2.0 ? Check it :)