Search

You searched for the word(s): userid:668071

Matching Posts

  • Re: The name xxx Does Not Exist in the Current Context

    I think I figured this out by myself, so I thought I should post and share in case it might help somebody else one day. I discovered that if I simply used VWD as an editor and save my changes and then go pull up the pages in a web browser without trying to debug or "start without debug" from the IDE then the extra build done prior to a debug was not attempted, thus did not fail, and the page loaded and worked normally from outside of VWD. Then I found an option to turn off the build prior
    Posted to Visual Web Developer 2005 Express (Forum) by Tepi on 7/21/2006
  • Re: The name xxx Does Not Exist in the Current Context

    New but equally baffling information: If I remove the reference to the label so the build will succeed and set a break point at that spot in the code, then when I hit the breakpoint I can see the label in the local variable panel and change its text property and it shows up on the page and works fine. So it is definitely defined in that context. The error message is wrong. I think this has to be a bug or something corrupted.
    Posted to Visual Web Developer 2005 Express (Forum) by Tepi on 7/13/2006
  • Re: The name xxx Does Not Exist in the Current Context

    I've tried a number of variations, including setting the lable text in the page load event, but this is what I have currently, which is in a RowUpdating event of a GridView control. First the code file: using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial class regGridSess : System
    Posted to Visual Web Developer 2005 Express (Forum) by Tepi on 7/10/2006
  • The name xxx Does Not Exist in the Current Context

    I add a label to a page and set its ID to LabelEditMessage and debug, and there it is. Then in the code behind page (C#) I add a line of code LabelEditMessage.Text="test"; If I build, the build succeeds, but if I press the debug button it does another build that fails and tells me that LabelEditMessage Does Not Exist in the Current Context. Intellisense knows about it, and I use that to enter the reference to be sure I am not mispelling. So I tried using FindControl, and that fails with a null reference
Page 1 of 1 (4 items)