Resharper parsing of nested ASP.NET controls not working?
There's another instance where Resharper isn't picking up the definition of
a control, and that seems to be when there's a nested control, such as a
repeater. Here's the code:
Messages:
The "id=Messages" is properly color coded and recognized in the codebehind
file.
The id="MessagesRepeater" is not colorcoded or recognized in the codebehind
file. References to "MessagesRepeater" are shown in red with a cannot
resolve symbol error. But of course the code compiles and runs fine.
I'm assuming the problem has to do with the nested nature of the control,
and not the capitalization of "ID=", becuase I changed the capitalization
and the "MessagesRepeater" identifier was still not recognized, and those
tags should be case-insensitive anyway.
Please sign in to leave a comment.
Hi Paul,
I think this is correct and even vs.net will not pick up that one
because it's not a real control. Let's say you have 5 items -> 5
usermessage labels. Who are you talking to if you set usermessage.text
in the codebehind
Ward
Paul Bradshaw wrote:
It was a problem with asp:panel. I've fixed it in build 221.
BTW Have You posted this into tracker?
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
No, I posted it here first to get comment before posting it to the tracker.
If you've already fixed the problem, then I won't bother with the tracker
entry. Thanks!
"Sergey V. Coox (JetBrains)" <qx@intellij.com> wrote in message
news:dujnt8$v2m$1@is.intellij.net...
>
I've verified this is now working correctly in build 221. Thanks!
"Sergey V. Coox (JetBrains)" <qx@intellij.com> wrote in message
news:dujnt8$v2m$1@is.intellij.net...
>