Search

Format the whole document change custom attributes syntax by gioker84

Closed
as Fixed Help for as Fixed

1
Sign in to vote
0
Sign in to vote
Sign in
to vote
Type: Bug
ID: 104740
Opened: 12/11/2005 9:39:34 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
If I run "Format the whole document" on a control with a custom attribute, it lose the capitalized characters into the <%# server code %>.
Details (expand)
Product Language
English
Version
Visual Studio 2005
Category
Controls
Operating System
Windows XP Professional
Operating System Language
Italian
Steps to Reproduce
Try put a label control with the attribute Style. For example:

<asp:Label runat="server" ID="Label1" Style='<%# Eval("valuepath").ToString()%>' />

Then run the Format the whole document utility.
Actual Results
<asp:Label runat="server" ID="Label1" Style='<%# eval("valuepath").tostring()%>' />
Expected Results
<asp:Label runat="server" ID="Label1" Style='<%# Eval("valuepath").ToString()%>' />
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 12/11/2005 at 10:46 PM
Thank you for your feedback. We are investigating this issue.

Thank you, VS2005 Product Team.
Posted by Microsoft on 2/8/2006 at 5:34 PM
The Microsoft Sub-status is now "Investigating"
Posted by Microsoft on 2/9/2006 at 12:22 PM
The Microsoft Sub-status is now "Working on solution"
Posted by Microsoft on 2/15/2006 at 2:22 PM
Thanks for submitting this. The issue has been fixed in future releases.

Thanks,
Web Platform and Tools Team
Posted by Microsoft on 1/17/2007 at 2:04 AM
Thank you for submitting this issue. The bug has been resolved Fixed, and its resolution shipped as part of Visual Studio 2005 Service Pack 1 (SP1).

You can download SP1 at http://msdn.microsoft.com/vstudio/support/vs2005sp1/default.aspx. If installing SP1 does not resolve the issue for you, please reactivate.

Thanks again for your feedback!
-Scott Currie
-DDTFA Program Manager