This is a migrated thread and some comments may be shown as answers.

Name 'RadGrid1' is not declared

2 Answers 134 Views
Grid
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 07 Jul 2009, 06:15 AM
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 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 07 Jul 2009, 06:28 AM
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
0
David
Top achievements
Rank 1
answered on 07 Jul 2009, 07:46 AM
Thumbs up Shinu! It was so simple I did not figure out the nesting problem.
Thanks alot,
David
Tags
Grid
Asked by
David
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
David
Top achievements
Rank 1
Share this question
or