开发者

Visual Studio 2010 bug - editor

开发者 https://www.devze.com 2023-03-20 15:21 出处:网络
I recently ra开发者_运维百科n into a strange behavior in the VS2010 SP1 IDE. When I modify an aspx page viewing the markup, I get duplication in nearby controls.

I recently ra开发者_运维百科n into a strange behavior in the VS2010 SP1 IDE. When I modify an aspx page viewing the markup, I get duplication in nearby controls.

For example, I have a Dropdownlist control that looks like this:

 <asp:DropDownList ID="cboPreviousPhone" Width="350px" CssClass="EntryText"></asp:DropDownList>

Directly above it, I add table tags. When I add tr tags, the ID of the dropdown list changes to this:

<asp:DropDownList ID="cboPreviousPhor" Width="350px" CssClass="EntryText"></asp:DropDownList>

If I type "tr1234" in the tag instead, the dropdown changes to this:

 <asp:DropDownList ID="cboPreviousPhotr1234r" Width="350px" C`ssClass="EntryText">/asp:DropDownList>

I tried this project on another machine and get the same thing. Deleted designer file, same thing.

Any ideas why this would do this?

0

精彩评论

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