What's the best way to have VS.Net 2003 update the codebehind page to reflect changes to the server controls declared in the HTML?

1 posts, 0 answers
  1. Josef Rogovsky
    Josef Rogovsky avatar
    147 posts
    Member since:
    Sep 2012

    Posted 20 Jan 2006 Link to this post

    Usually I just double click a label or other control while in HTML mode and it takes me to the code behind and it's usually updated with the latest control definitions. It doesn't always remove the references to controls that I've since deleted from the HTML.

    I ask because once, a long time ago, I was reading a forum or possibally a newsgroup and a Microsoft Rep described their recommended way to have VS.Net (it was 2002 at the time) update the code behind page and at the time I didn't realize the relevance and didn't pay attention. It wasn't the technique I generally use.

    I'd just like to know what method others are using and if anyone knows the "officially sanctioned" procedure.
Back to Top