views:

14

answers:

0

I'm using ASCX files quite extensively in my latest project and I've come across an annoyance - when I go to type:

<%= Something %>

Due to Intellisense I get the following when I type the equals sign:

<%@ Assembly= %>

This happens anywhere in the file, which is strange as the top of the file is the only place I would ever want such a directive. The only way to stop it is to type <% and then hit escape, then type the equals sign.

Is there a way to prevent this default behaviour, and possibly change it to <%= %>?

related questions