wensveen-evident
-
8/26/2011 9:40:07 AM
RE:NewLine in transformation
Hi Janh,
That would probably work, but I'd still have to put everything on one line with these entities in between.
Also, before the first character of the transformation, there is a newline in the output, and I need that to be a CRLF as well, or nothing at all, so I can put it in the code before the CMSRepeater.
I've worked around it now, by inheriting the CMSRepeater control and overriding the Render method where I replace the generated "\n" characters with "\r\n". This could have been done in the code-behind of the page template (ASPX) as well. A control Adapter would have worked too. Anyway, the problem is solved :)
Cheers, Matthijs
|