History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-53493
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Sergey Coox
Reporter: Jafin
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

CLONE -Cannot resolve symbol 'onclick' on asp.net controls

Created: 27 Nov 07 05:10   Updated: 28 Nov 07 16:30
Component/s: Language - ASP.NET
Fix Version/s: 3.1
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 237
Fixed in build: 239
Old URL: http://www.intellij.net/tracker/resharper/viewSCR?publicId=23910


 Description  « Hide
Most stock microsoft asp.net controls support passthrough of attributes. For example, you can add an "onclick" attribute to an <asp:CheckBox ... /> control and it will be properly rendered. RS, however, complains and paints it red (message "Cannot resolve symbol 'onclick'"). I think at most this should be a yellow warning.

 All   Comments   Work Log   Change History      Sort Order:
Jafin - 27 Nov 07 05:12
This issue is occuring in 3.1.567.11

It appears to occur when the web.config contains the following line:

<controls>
..
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0., Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

..
</controls>

Removing the ajax control prefix from web.config returns the OnClick functionality (as well as other eventing information back to the IDE.