Last post Jun 22, 2018 08:45 AM by COMIDOS
Jun 21, 2018 11:25 AM|COMIDOS|LINK
I´m using DetailsView on a classic ASP WebForm. It is a very big and complex DataSource bound to it and so it is in the Inserting-Mode very confusing and hard to check which Input-Field belongs to which Header-Text.
In the ReadOnly-Mode is the Alternating-Row-Style to prevent this Problem. Is there any option to get something like AlternatingRow-Style inside the EditRowStyle?
I think there must be a way with CSS, but Styling is not my speciality...
Hope someone can help me with that.
Jun 22, 2018 08:13 AM|Abraham Qian|LINK
According to your description, I try to use AlternatingRowStyle in the Edit-Mode to set the interval line style, and use EditRowStyle to set edit line style. Finally I find that the AlternatingRowStyle also works, and the EditRowStyle overrides the same
type of style, such as the background color. So I suggest you could clear the background color of the EditRowStyle, or use the ForeColor to distinguish different lines.
Here is my screenshot in Edit-Mode.
Please feel free to let me know, if you have any question.
Jun 22, 2018 08:45 AM|COMIDOS|LINK
Thanks for your Impulse!