Visual Studio 2015 stops recognizing objects in my webform from the code behind VB.NET

  • Thread starter Thread starter Michael Adkins
  • Start date Start date
M

Michael Adkins

Guest
I create a new <g class="gr_ gr_20 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del" data-gr-id="20" id="20">Webform</g> with a VB code behind. I add an object such as <g class="gr_ gr_237 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar multiReplace" data-gr-id="237" id="237">a <</g>asp<g class="gr_ gr_881 gr-alert gr_gramm gr_inline_cards gr_run_anim Style replaceWithoutSep" data-gr-id="881" id="881">:label</g> id="lblTest" runat=server/> and then when I go to the code behind and go to use the lblTest it is not found. Says the object is not defined. I have run into this before but cannot remember the best solution. I ended up starting a new project and adding the files to it and all was fine for a while.

Could this be a result of needing to clean out <g class="gr_ gr_805 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del" data-gr-id="805" id="805">he</g> Visual Studio Temp Files? Is there an easy fix?


Michael Adkins

Continue reading...
 
Back
Top