Naming convention of ID attributes in .aspx

Hi there,

When working with .aspx files, R# triggers on all my ID attributes. For example I name all my GridViews starting with gvXXXX.
As an example, this triggers the following message from R#:

Name 'gvData' does not match rule 'instance fields (not public)'. Suggested name is '_gvData'.

How can I set a separate rule for the aspx pages ? I want the _Name syntax for the private declarations of my cs files, but not for the ID attributes in my html.

Cheers

1 comment

I too would like to know how to fix this. My web is a web site, not web application.

0

Please sign in to leave a comment.