Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Definition error

Definition error

Scheduled Pinned Locked Moved Web Development
helphtml
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nclauder
    wrote on last edited by
    #1

    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.

    B S B 3 Replies Last reply
    0
    • N nclauder

      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.

      B Offline
      B Offline
      blue_arc
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • N nclauder

        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.

        S Offline
        S Offline
        Sandeep Akhare
        wrote on last edited by
        #3

        Please tell first What are you doing ? are you using User control in web application ?

        N 1 Reply Last reply
        0
        • N nclauder

          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.

          B Offline
          B Offline
          badgrs
          wrote on last edited by
          #4

          What is Bsc_Test1.src.controls.cont? What do you mean by its in the HTML? Is it in a server script block or is it the ID of an HTML element (or an ASP.NET control)?

          1 Reply Last reply
          0
          • S Sandeep Akhare

            Please tell first What are you doing ? are you using User control in web application ?

            N Offline
            N Offline
            nclauder
            wrote on last edited by
            #5

            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?

            S 1 Reply Last reply
            0
            • N nclauder

              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?

              S Offline
              S Offline
              Sandeep Akhare
              wrote on last edited by
              #6

              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 :)

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups