Saturday, 15 June 2013

asp.net mvc - Lambda expression intellisense stops working when enclosed in a div element -



asp.net mvc - Lambda expression intellisense stops working when enclosed in a div element -

i've come across weird problem , that's literally driving me nuts. intellisense stopped working on lambda look when code containing lambda enclosed in div. there's no problem when code placed outside div. here're pictures see difference

as can see in above image @html.dropdownlistfor not within div , when type x there's x within pop , nil selected automatically. if enclose same code within div next problem occur:

as can see there's no x in list , xhtmlmobiledoctype selected default , when type "=" after x xhtmlmobiledoctype entered automatically. i've done same thing on view , haven't had such issue.

tl;dr

remove equals (=) auto-completion isn't committed when press it. can uncheck space bar's behaviour if want.

only happens on ctrlspace

i can reproduce problem when forcefulness open intellisense ctrlspace (default).

when open parentheses , intellisense pops me, xhtmlmobiledoctype faintly-selected , pressing = or space nothing.

when forcefulness open ctrlspace, xhtmlmobiledoctype is selected , commit if press =.

asp.net-mvc visual-studio-2012 razor lambda intellisense

No comments:

Post a Comment