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
Post a Comment