prevent line break in JavaScript inside ASP.NET tag's OnClientClick attribute

abbreviated code snippet:

<asp:LinkButton OnClientClick="return confirm('Are you sure you want to perform action X?');"

and after ReSharper "cleans up" (breaks the JavaScript functionality):

<asp:LinkButton OnClientClick="return
    confirm('Are you sure you want to perform action X?'); "


I'm new to ReSharper, and there are a ton of line break options for HTML and C#, but apparently none for ASP.NET tags....

1 comment

Thank you for your request.

There is the same request in YouTrack: . You are welcome to follow and vote for it.


Please sign in to leave a comment.