Resharper 7, html wrap doesnt work fine

Hi everyone ;

i use resharper 7. but when i use old version html wrap work fine. but it isnt working fine now. my html is;

<asp:Label ID="lblRegStart" runat="server" Text='<%#                                        Eval("RegStart", "{0:d}") %>'></asp:Label>
<asp:Label ID="lblRegEnd" runat="server" Text='<%#                                        Eval("RegEnd", "{0:d}") %>'></asp:Label>



you can see after the this character '<%# . resharper put alot of space character when i run code cleanup. my some html status very bad to this. you can see my hyperlink html;

  <asp:HyperLink ID="hlnkUpdateOrderProduct" runat="server" NavigateUrl='<%#(new UrL
                                                                                                   (UrLs
                                                                                                        .
                                                                                                        Order))
                                                                                                   .
                                                                                                   AppendQueryString
                                                                                                   (QueryStringKeys
                                                                                                        .
                                                                                                        Do,
                                                                                                    QueryStringValues
                                                                                                        .
                                                                                                        OrderProductOsType)
                                                                                                   .
                                                                                                   AppendQueryString
                                                                                                   (QueryStringKeys
                                                                                                        .
                                                                                                        SubDo,
                                                                                                    QueryStringValues
                                                                                                        .
                                                                                                        Update)
                                                                                                   .
                                                                                                   AppendQueryString
                                                                                                   (QueryStringKeys
                                                                                                        .
                                                                                                        ProductId
                                                                                                        .
                                                                                                        Key,
                                                                                                    Eval
                                                                                                        ("ProductId")
                                                                                                        .
                                                                                                        ToEncode
                                                                                                        ())
                                                                                                   .
                                                                                                   AppendQueryString
                                                                                                   (QueryStringKeys
                                                                                                        .
                                                                                                        OrderProductId
                                                                                                        .
                                                                                                        Key,
                                                                                                    Eval
                                                                                                        ("Id")
                                                                                                        .
                                                                                                        ToEncode
                                                                                                        ()) %>'>
                                    <img src="/Assets/Images/edit.gif"  /></asp:HyperLink>



How can i fix this problem ?

Best regards
1 comment
Comment actions Permalink

Hello Emrah
     Could you please check if this happens for you with any ASP.NET project? Also, could you please copy the information from ReSharper | Help | About and send it to us as well? Thank you!

Andrey Serebryansky

Software Developer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0

Please sign in to leave a comment.