Intellisense for Properties on ASP.NET Custom Server Controls

NOTE:  The solution described below is only necessary if your web page and custom control are in the same project.

I had this really not fun time this week blowing a couple of hours on something that should have been zero impact so I thought I'd share here.  I wrote a custom ASP.NET server control and then added to an ASPX page with the Register tag, and then added a tag for my control.  I then went to set one of the properties of the control in the attributes of the control tag in the ASPX, the way everyone is used to doing.  The really frustrating thing is that it wasn't showing any of my custom properties.  After messing around with it for a couple of hours and getting no where, I finally realized that I had to close Visual Studio 2010 completely, then reopen it to see the properties I had added.  Yes, don't be confused when looking at the calendar, it really is 2010.

So to get custom properties to show up in the ASPX Intellisense you need to:

  • Use properties that are Read / Write
  • Recompile your control and register in the GAC or place in the BIN of your ASP.NET app
  • Close Visual Studio
  • Reopen Visual Studio
  • Junk starts working

Hope this saves someone some time.

Comments (4)

  1. alexandrad9x says:

  2. Justin H says:

    Same issue is present in VS2012. Spent a couple hours trying to figure this out as well and could not find anything online. This post saved me some time, thanks!

  3. ASF says:

  4. mansion88 says:

    m88 : offer online sports games Asia, Sports Betting Asia, Sports Betting Sites Asia.

    m88asia :
    Link to M88BET phone: – Register and Open Betting Account and Membership M88BET.

    m88bet :
    MANSION88 the house is one of the largest and most prestigious. Appeared quite early in the Asian market, the so-MANSION88 currently attracts more players.

    link m88 :
    Home the M88 is the official sponsor of the football club in the Premier League
    Wish you happy with the new M88
    m88 casino online :

Skip to main content