Does anyone know the best way to write a non-breaking space from an ASP.NET HTMLTextWriter?
Assuming writer is my HTMLTextWriter passed into my overridden Render method, do I just do writer.Write( @"nbsp;" ); or is there a constant defined somewhere, similar to the one that writes the closing right tag - writer.Write( HtmlTextWriter.TagRightChar ); ?
It is no big deal, but I like to do things the 'correct' way if there is one.
I would be very grateful for anyone taking the time to reply to this.
Kind Regards, Patrick