Quantcast
Channel: Carriage Return/Line Feed in .Net Resource File (App_GlobalResources) - Stack Overflow
Browsing latest articles
Browse All 6 View Live

Answer by Beauty for Carriage Return/Line Feed in .Net Resource File...

It's possible to edit the *.resx file with a text editor to add linebreaks. You can do it even within Visual Studio: Right click to the resource file Click to Open with ... Select XML (Text) Editor...

View Article



Answer by Danield for Carriage Return/Line Feed in .Net Resource File...

When using the resx designer interface If you are actually typing the text into the resx file then you would use Shift+Enter as noted in other answers. If you are pasting text in the resx - Visual...

View Article

Answer by Leniel Maccaferri for Carriage Return/Line Feed in .Net Resource...

Well, what worked in my situation was using a <br> tag like this: A text with a line break <br> and this goes in the second line. There's a post with more info here: Putting a line break in...

View Article

Answer by KingP for Carriage Return/Line Feed in .Net Resource File...

Use Shift+Enter to insert a new line.

View Article

Answer by shahkalpesh for Carriage Return/Line Feed in .Net Resource File...

I used VB.NET Express Edition to test this. In the resource editor (where you can specify the name of the resource and string content) put the string content separated by Shift+Enter. Lets say you want...

View Article


Carriage Return/Line Feed in .Net Resource File (App_GlobalResources)

I'm keeping several texts in an App_GlobalResources.resx file. The texts have to be multi-line and I need to have them contain line feeds. However, when I read the contents, all line feeds are gone...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images