I needed to add some static text to an IIS webpage.
I copied the production solution to a development environment.
I added the text to the appropriate .aspx file and it displays as expected in the test environment.
I used https://www.diffchecker.com/diff
to check the original file and the amended file for differences.
The new text displayed as expected.
However there is one other difference which I did not introduce.
The original file has the following
<asp:FormView ID="FV_Leave" runat="server" DataSourceID="DS_LeaveDetail" DataKeyNames="ID" BorderStyle="None" style="width: 100%">
This has been replaced by
<asp:FormView ID="FV_Leave" runat="server" DataSourceID="DS_LeaveDetail" DataKeyNames="ID" BorderStyle="None" Height="267px" Width="1028px">
I have little understanding of aspx/html and am wondering how this could have happened and what possible effect this will have in production environment.
I tried commenting out the “new line” and replace it with the original in the test environment but I then get multiple validation errors.
Any guidance appreciated.