I played around with the example that you gave and indeed I had intellisense in html view.
However, as soon as I tried to recreate my control (the original source is at work), intellisense was lost.
The only difference between my control and the posted example (I was already aware of adding the various attributes to my class and properties and thus had already done so) is that my control extends System.Web.UI.WebControls.Parameter and not System.Web.UI.WebControls.WebControl.
As soon as I switched to the latter, I had intellisense support.
So am I to believe that the secret of html view intellisense lies in the extended class? I don't understand why when extending Control, WebControl or even ObjectDataSource (I tried some other arbitrary class just to see what would happen) I get full intellisense
support in html view but not when I extend Parameter?
The whole thing makes no sense... it's horse caca!
kenniejaydav...
Member
25 Points
24 Posts
Re: intellisense in html view
Feb 18, 2007 04:31 AM|LINK
I played around with the example that you gave and indeed I had intellisense in html view.
However, as soon as I tried to recreate my control (the original source is at work), intellisense was lost.
The only difference between my control and the posted example (I was already aware of adding the various attributes to my class and properties and thus had already done so) is that my control extends System.Web.UI.WebControls.Parameter and not System.Web.UI.WebControls.WebControl. As soon as I switched to the latter, I had intellisense support.
So am I to believe that the secret of html view intellisense lies in the extended class? I don't understand why when extending Control, WebControl or even ObjectDataSource (I tried some other arbitrary class just to see what would happen) I get full intellisense support in html view but not when I extend Parameter?
The whole thing makes no sense... it's horse caca!