开发者

Asp.net MVC3 intellisense in view HTML attributes

This is annoying and was something I hoped they would fix for MVC3

just started a fresh MVC3 project and still I dont get intellisense from a view when in an HTML attribue

so with this example below I dont get intellisense.

<img src="/VehicleImages/<%=Model.Adver开发者_StackOverflow中文版tVehicle.SapCode%>.jpg" />

I would have to copy and paste it outside the attribue and then I get intellisense.

Is there a setting when I can turn this on ??

Truegilly


I agree this is incredibly annoying. I was hoping they'd fix it in VS2010 but it didn't happen.

This is the sole reason I bought ReSharper.


AFAIK this is not supported. Hope they will fix it in future releases.


It IS Supported. Use Razor View Engine. Personally i would use razor if it had not got Intellisense at all

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜