<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Visual Web Developer 2005 Express</title><link>http://forums.asp.net/175.aspx</link><description>General discussions about Visual Web Developer 2005 Express Edition</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: The name xxx Does Not Exist in the Current Context</title><link>http://forums.asp.net/thread/3513067.aspx</link><pubDate>Sat, 14 Nov 2009 22:04:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3513067</guid><dc:creator>MargaritaRosa</dc:creator><author>MargaritaRosa</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3513067.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=175&amp;PostID=3513067</wfw:commentRss><description>&lt;p&gt;Thank you &lt;strong&gt;jcevans &lt;/strong&gt;this worked for me&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: The name xxx Does Not Exist in the Current Context</title><link>http://forums.asp.net/thread/3484043.aspx</link><pubDate>Thu, 29 Oct 2009 16:15:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3484043</guid><dc:creator>sumanabk</dc:creator><author>sumanabk</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3484043.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=175&amp;PostID=3484043</wfw:commentRss><description>&lt;p&gt;Thank you so much for this post. I spent a good deal of time trying to figure out the problem before&lt;/p&gt;
&lt;p&gt;I check on the forums. How silly of me..hehee..I had the back up copy too. Once I excluded everything&lt;/p&gt;
&lt;p&gt;else worked fine. :)&lt;/p&gt;</description></item><item><title>Re: The name xxx Does Not Exist in the Current Context</title><link>http://forums.asp.net/thread/3447568.aspx</link><pubDate>Thu, 08 Oct 2009 10:57:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3447568</guid><dc:creator>UptownGirl</dc:creator><author>UptownGirl</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3447568.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=175&amp;PostID=3447568</wfw:commentRss><description>&lt;p&gt;Read all the entries about duplicates in back up files and thought that&amp;#39;s embarressing and was certain that wasn&amp;#39;t my problem!&lt;/p&gt;
&lt;p&gt;&lt;img title="Embarassed" alt="Embarassed" src="http://forums.asp.net/tiny_mce/jscripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif" border="0" /&gt;&amp;nbsp;Do a find&amp;nbsp;of the entire project to make sure!!&amp;nbsp; Even though the name in the solution explorer is different, it doesn&amp;#39;t change it in the code behind file.&lt;/p&gt;</description></item><item><title>Re: The name xxx Does Not Exist in the Current Context</title><link>http://forums.asp.net/thread/3375138.aspx</link><pubDate>Fri, 28 Aug 2009 15:03:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3375138</guid><dc:creator>ravensensei</dc:creator><author>ravensensei</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3375138.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=175&amp;PostID=3375138</wfw:commentRss><description>&lt;p&gt;the other thing I noticed after wrestling with some of the suggested solutions is that if I don&amp;#39;t open it as a project and I open it as a website in VS2008, it runs fine.&lt;/p&gt;</description></item><item><title>Re: The name xxx Does Not Exist in the Current Context</title><link>http://forums.asp.net/thread/3373123.aspx</link><pubDate>Thu, 27 Aug 2009 17:38:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3373123</guid><dc:creator>CodePartizan</dc:creator><author>CodePartizan</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3373123.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=175&amp;PostID=3373123</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Well, this problem seems to have a multitude of problems and solutions. Here&amp;#39;s another one that may be indicative of others and hasn&amp;#39;t been mentioned yet.&lt;/p&gt;
&lt;p&gt;If you add a control &lt;strong&gt;IN&lt;/strong&gt;&amp;nbsp;&lt;em&gt;something.aspx&lt;/em&gt; where &lt;em&gt;something.aspx.designer.cs&lt;/em&gt; also exists, you have to add&amp;nbsp;the control in &lt;em&gt;something.aspx.designer.cs &lt;/em&gt;in the following manner&lt;/p&gt;&lt;pre class="c-sharp" name="code"&gt;protected global::System.Web.UI.WebControls.Label labelName;&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;of course replacing the control type with what you need. &lt;/p&gt;
&lt;p&gt;(at least this works for me on VS2005 SP1)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers, &lt;/p&gt;
&lt;p&gt;Partizan&lt;/p&gt;</description></item><item><title>Re: The name xxx Does Not Exist in the Current Context</title><link>http://forums.asp.net/thread/3372760.aspx</link><pubDate>Thu, 27 Aug 2009 14:29:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3372760</guid><dc:creator>hellobiswa2001</dc:creator><author>hellobiswa2001</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3372760.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=175&amp;PostID=3372760</wfw:commentRss><description>&lt;p&gt;The id of the lbl cotrol must be different therefor it shows the error, to find this go to the code behind page and type the lebel name , it must nit be displayed..&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: The name xxx Does Not Exist in the Current Context</title><link>http://forums.asp.net/thread/3368795.aspx</link><pubDate>Wed, 26 Aug 2009 03:05:39 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3368795</guid><dc:creator>jcevans</dc:creator><author>jcevans</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3368795.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=175&amp;PostID=3368795</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;
&lt;p&gt;I was correct, same problem but for a totally different reason.&amp;nbsp; So, incase someone else runs into this issue, I will share what&amp;nbsp;I learned.&lt;/p&gt;
&lt;p&gt;I was on the right track that the issue was due to the FileUpload control being inside the DetailsView Control.&amp;nbsp; This made it so that my code could not directly access the FileUpload.&amp;nbsp; But, i was wrong, i could not fully qualify the name of the control to access it like&amp;nbsp;I used to in VB (VB2 through VB6). &amp;nbsp;I needed to use the FindControl Method.&amp;nbsp; For this, in my code behind, I created a new Control of the type FileUpload and set it equal to the one in my web page.&amp;nbsp; Here is the csharp code i used&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;F&lt;/font&gt;&lt;font size="2"&gt;ileUpload FileLogo2Upload = (FileUpload&lt;/font&gt;&lt;font size="2"&gt;)dvEventInformation.FindControl(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;fupEventLogo&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;The syntax for including the control type in ( ) seemed a bit odd to me, but it works.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Now, in my code behind, whenever I needed info about the original control, I accessed it from FileLogo2Upload&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;I also had RadioButtons in the template in the DetailView, so I created a new control for each of them, using Find Control&amp;nbsp;so i could access the info from the new control to see which was checked.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Hope this helps someone&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Jon&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;/p&gt;</description></item><item><title>Re: The name xxx Does Not Exist in the Current Context</title><link>http://forums.asp.net/thread/3355472.aspx</link><pubDate>Wed, 19 Aug 2009 05:23:56 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3355472</guid><dc:creator>jcevans</dc:creator><author>jcevans</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3355472.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=175&amp;PostID=3355472</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Well, I am getting the same error message, but for a different reason.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;- I tried the first suggestion above, change the build options.&amp;nbsp; That did not work.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;- I do not have any other copies of pages with the same names, so that rules that out.&lt;/p&gt;
&lt;p&gt;I am reasonable certain my problem is because the upload control i am using (the control that generates the error message) is buried so far down in the templates of my GridView that simply putting the control name in the code behind does not fully address it.&amp;nbsp; When i put&amp;nbsp;the fileupload, with this name&amp;nbsp;outside of the GridView it works fine.&amp;nbsp; But, when it is in the InsertItem template of one of the Fields, it generates this message.&lt;/p&gt;
&lt;p&gt;I am hoping i just need to learn how to address the control properly in the code behind.&amp;nbsp; Perhaps &lt;/p&gt;
&lt;p&gt;instead of &lt;/p&gt;
&lt;p&gt;fupEventLogo.enabled = true;&lt;/p&gt;
&lt;p&gt;I need something like&lt;/p&gt;
&lt;p&gt;gvEventInformation.Field6LogoUploadFilename.InsertItemTemplate.fupEventLogo.enabled = true;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;or close to that.&amp;nbsp; (This example does not work, but i&amp;#39;ll bet it is moving in the right direction!)&lt;/p&gt;
&lt;p&gt;I will just keep trying variations until I get it or i successfully address in the controls collection&lt;/p&gt;
&lt;p&gt;If you have any suggestions, i would love to hear them!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Jon&lt;/p&gt;</description></item><item><title>Re: The name xxx Does Not Exist in the Current Context</title><link>http://forums.asp.net/thread/3350828.aspx</link><pubDate>Mon, 17 Aug 2009 05:47:19 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3350828</guid><dc:creator>hellowahab</dc:creator><author>hellowahab</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3350828.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=175&amp;PostID=3350828</wfw:commentRss><description>&lt;p&gt;Let see if it works for me!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: The name xxx Does Not Exist in the Current Context</title><link>http://forums.asp.net/thread/3350822.aspx</link><pubDate>Mon, 17 Aug 2009 05:41:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3350822</guid><dc:creator>hellowahab</dc:creator><author>hellowahab</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3350822.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=175&amp;PostID=3350822</wfw:commentRss><description>&lt;p&gt;Let see if it works for me!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: The name xxx Does Not Exist in the Current Context</title><link>http://forums.asp.net/thread/3269840.aspx</link><pubDate>Wed, 01 Jul 2009 20:54:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3269840</guid><dc:creator>jtaylorwehco</dc:creator><author>jtaylorwehco</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3269840.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=175&amp;PostID=3269840</wfw:commentRss><description>&lt;p&gt;Brad,&lt;/p&gt;&lt;p&gt;I found out that if you rename the .aspx and the .aspx.cs file, rebuild web site, and rename the files back to the originals, the error goes away. &lt;/p&gt;&lt;p&gt;- jtaylorwehco&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: The name xxx Does Not Exist in the Current Context</title><link>http://forums.asp.net/thread/3159996.aspx</link><pubDate>Wed, 13 May 2009 14:00:12 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3159996</guid><dc:creator>Ramya N</dc:creator><author>Ramya N</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3159996.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=175&amp;PostID=3159996</wfw:commentRss><description>&lt;p&gt;Check if you are pointing the same code behind file in two different apsx forms, i found this answer in another forum and solved my problem, when faced similar one.&lt;/p&gt;</description></item><item><title>Re: The name xxx Does Not Exist in the Current Context</title><link>http://forums.asp.net/thread/3146206.aspx</link><pubDate>Thu, 07 May 2009 00:24:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3146206</guid><dc:creator>konic</dc:creator><author>konic</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3146206.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=175&amp;PostID=3146206</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;Gewgala:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Do you clean your project prior to building it?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;
I cleaned project and deleted all folders in the ..\roor\&amp;quot; folder.&lt;br /&gt;
And still have to use casting just to be able to compile the code.&lt;br /&gt;
...&lt;br /&gt;
P.S. OK, the mystery is solved. By mistake I &lt;u&gt;deleted&lt;/u&gt; &lt;b&gt;Default.aspx.designer.cs&lt;/b&gt; file,&lt;br /&gt;
which contains definitions of all class members.</description></item><item><title>Re: The name xxx Does Not Exist in the Current Context</title><link>http://forums.asp.net/thread/3146157.aspx</link><pubDate>Wed, 06 May 2009 23:39:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3146157</guid><dc:creator>Gewgala</dc:creator><author>Gewgala</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3146157.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=175&amp;PostID=3146157</wfw:commentRss><description>Do you clean your project prior to building it?</description></item><item><title>Re: The name xxx Does Not Exist in the Current Context</title><link>http://forums.asp.net/thread/3145901.aspx</link><pubDate>Wed, 06 May 2009 21:07:27 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3145901</guid><dc:creator>konic</dc:creator><author>konic</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3145901.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=175&amp;PostID=3145901</wfw:commentRss><description>OK,
this is not the whole picture.&lt;br /&gt;
As for me (VS2005), I had only one pair of Default.aspx and Default.aspx.cs &lt;br /&gt; 
just for some testing purpose. It worked OK until certain moment.&lt;br /&gt; 
I did something and since then started to get this compilation error.&lt;br /&gt;
Yes, casting thing like: &lt;br /&gt;
&lt;b&gt;Label lb = (Label)Page.FindControl(&amp;quot;form1&amp;quot;)...&lt;/b&gt; does work, but nothing else.&lt;br /&gt;
And then by accident I discovered that VS2005 by default generates DLLs &lt;br /&gt;
and put them in some folder like: 
&lt;u&gt;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\ccd7038d\1778aef7\assembly\dl3\8d7ee5d1\de6c8a4c_8acec901\&lt;/u&gt; (!?)&lt;br /&gt;
Maybe that was because I did not deploy my site(pages) onto the server.&lt;br /&gt;
Anyway, the point is that sometimes DLLs are not rebuilt, and &lt;br /&gt;
I found the whole bunch of these DLLs under the ..\root\ folder!&lt;br /&gt;
Can anyone comment on this?</description></item></channel></rss>