c# - Custom control properties not reflecting in ASPX markup -


i'm having .net 4.0 solution several projects inside it.

one project has custom controls implemented (say customcontrolproject).

the other project has aspx pages. (say webpagesproject)

one of custom control search textbox has properties.

when add new property , build entire colution, still property doesn't appears in intellisense in aspx page.

i checked dll reference taking exact dll customcontrolproject.

it not hitting break point when attach custom control code w3wp.exe process. aspx pages hosted in (local) iis.

i tried deleting entire stuffs in bin of custom control , build it, tried deleting dlls c:\windows\microsoft.net.. temporary internet files.

checked version of both projects, same:

<targetframeworkversion>v4.0</targetframeworkversion> 

the difference found in both project files this:

<oldtoolsversion>3.5</oldtoolsversion> (for custom control project)  <oldtoolsversion>4.0</oldtoolsversion> (for aspx pages project) 

the error i'm getting

message: cannot create object of type 'customcontrolsproject.interface.searchtextboxmodeenum' string representation 'forms' 'searchtextboxmode' property.

the code:

 public enum searchtextboxmodeenum     {         global,         forms,                 account     }  [category("seach mode"), defaultvalue(searchtextboxmodeenum.global), personalizable(personalizationscope.shared), webbrowsable(true), webdisplayname("searchtextboxmode"), webdescription("searchtextboxmode")] public searchtextboxmodeenum searchtextboxmode  {                 set;                 get;  } 

i added last 1 (account). can see first 2 properties in intellisense.

can 1 tell me mistake i'm making ?


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -