Name 'RadGrid1' is not declared

3 posts, 1 answers
  1. David
    David avatar
    12 posts
    Member since:
    Jun 2009

    Posted 07 Jul 2009 Link to this post

    Hi, I use a grid control as usual and redefine the SQL clause during the load of the page.
    When compiling the code, I got the erro message Name 'RadGrid1' is not declared...
    RadGrid1 is in my locals during debuging thus far I don't understand where my error...
    Can somebody give me an idea how to fix this?
    Regards,
    David
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 07 Jul 2009 Link to this post

    Hi David,

    Is your RadGrid nested inside any other control? If so you this error can occur once you directly try to access the nested Grid.
     I have found a couple of forum links which discusses a similar error. Go through it  and see if it helps.

    Name 'RadGrid1' is not declared.
    Name:RadGrid1 is not declared


    Shinu
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. David
    David avatar
    12 posts
    Member since:
    Jun 2009

    Posted 07 Jul 2009 Link to this post

    Thumbs up Shinu! It was so simple I did not figure out the nesting problem.
    Thanks alot,
    David
Back to Top