Intellisense on aspx controls not showing Text property
Maybe I'm missing something, but it seems like Intellisense never shows the Text property on asp controls when I edit an aspx page in source view. R# does show the Text property in the infotip, but not in the property list.
I've typed the letter "t" here. As you can see, it does show [Text] in the infotip, but the intellisense doesn't show the property.
Is this a bug? Or is there a good explanation for this behavior?
Please sign in to leave a comment.
Hello Dick,
I've checked this behavior and this seems to be a bug that will be addressed
in the upcoming ReSharper 6.1. Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
The problem doesn't appear on all asp controls. For instance, a Button control does show the Text Property.
That makes sense - with a Label control, you can specify the text as a property or as the content of the control; with a Button, you can only specify it as a property.
I suspect you'll see this bug with the TextBox, ListItem, HyperLink, LinkButton and validator controls as well - anything that specifies [PersistenceMode(PersistenceMode.InnerDefaultProperty)] on the Text property.