Priority
Show-stopper
Type
Bug 
State
Fixed 
Assignee
Sergey Coox 
Subsystem
No subsystem 
Affected versions
Fixed in
Fixed in build
Next build 
Build
465
  • Submitted by   Brian Scott
    2 years ago (19 Jun 2007 02:09)
  • Updated by Brian Scott
    14 months ago (26 Nov 2008 08:43)
  • Jira: RSRP-43604
    (history, comments)

RSRP-43604

"Cannot resolve symbol" highlighting for UserControls and Ajax Toolkit controls

Occurs in Asp.Net WebSites in the code files for aspx pages. Not sure if the same thing occurs in WebProject code behinds.

UserControl Example:
A Web Form named (and in folder) Members\Welcome.aspx is created.

A UserControl named (and in folder) UserControls\SearchRequirements.ascx is placed on the page and given the id 'requirementsSearch'.

Intellisense popup after dot on all references to the instance shows "No suggestions".
Any property or method of the user control instance 'requirementsSearch' will be highlighted as an invalid symbol.

The instance itself is not highlighted as an error but the tooltip shows that ReSharper is not recognizing it correctly.
The tooltip text is "(field) ASP.usercontrols_searchrequirements_ascx Members_Welcome_requirementsSearch"


Ajax Toolkit Control Example:
A Web Form named (and in folder) Members\Welcome.aspx is created.

An UpdatePanel is placed on the page and given the id 'searchResults'.

Intellisense popup after dot on all references to the instance shows "No suggestions".
Any property or method of the update panel instance 'searchResults' will be highlighted as an invalid symbol.

The instance itself is not highlighted as an error but the tooltip shows that ReSharper is not recognizing it correctly.
The tooltip text is "(field) __ReSharper_TagPrefix_ASP.UpdatePanel Members_Welcome_searchResults"


At first I thought the problem was only with the Ajax Toolkit controls and the UserControls that were not recognized were doing so because they have Ajax Toolkit controls on them. I think I have found some instances where that may not be true, but I will need to investigate more. I see the errors with both UserControls and Ajax Toolkit Controls on the same page.

Issue was closed
Comments (0)
 
History (0)
 
Links
 
Issue has no comments