SharePoint Designer Blank Lines

How do you remove blank lines in SharePoint Designer?

1. Select / highlight 4 blank rows (select more or less depending on how many you want to delete).
2. Ctrl+H (Edit –> Replace)
3. Replace All

You might have to perform this more than once to truncate all the blank rows.

My .aspx grew from ~1,000 rows to over 300,000 rows.  Why?  I’ll assume it had something to do with the Data View web part.

2 thoughts on “SharePoint Designer Blank Lines

  1. Okay, did you try using the edit menu? Sounds like you are working in a browser, not SharePoint Designer.

Leave a Reply

Your email address will not be published. Required fields are marked *