Designer-Time Support in VS.NET

Results 1 to 2 of 2

Thread: Designer-Time Support in VS.NET

  1. #1
    Join Date
    Dec 1969

    Default Designer-Time Support in VS.NET

    I&#039;ve created a simple control is VS.NET and a corresponding Designer class for it so that it renders in VS.NET when you drag it onto a WebForm.<BR><BR>For some reason, When I make a change to the Designer class, and recompile, those changes do not show up when I drag an instance of the control onto the WebForm again. I try deleting the control from the toolbox and re-adding it, but that doesn&#039;t help. The only thing that seems to help is actually closeing down VS.NET entirely and starting it back up.<BR><BR>I shouldn&#039;t have to do that... has anyone else experienced this?<BR><BR>Any input is appreciated.<BR>Thanks<BR>-Steve

  2. #2

    Default RE: Designer-Time Support in VS.NET

    Does the project you are using the control in have a reference to the control&#039;s project or to a dll?<BR><BR>In design view, you have an instance of the designer in memory.<BR><BR>The trick I use is to switch to html view, then Re-Build solution. This rarely fails to give me the new designer.<BR>Sometimes just switching to html view adding a space and saving will do the trick too.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts