Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

URLs automatically lower-cased when setting .Text?

Last post 08-13-2008 15:26 by dwhalen01. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 08-13-2008 15:26

    URLs automatically lower-cased when setting .Text?

    Hi All.

     I'm seeing a weird case where I assign a string to the WebHTMLEditor to pre-populate it.  The string has a link in it and the link is case-sensitive (yeah, I know that's hard to believe, but some servers are still running that way).

     Anyway, when I populate the .Text property on the server-side, everything looks fine.  But, once the editor loads it shows the link with a lower-case URL in it.

    Here's a simple way to reproduce it:

    Dim sText as String = "<a href=""http://WWW.CNN.COM"">http://WWW.CNN.COM</a>"

    WebHTMLEditor1.Text = sText

    When the editor finishes loading the HTML within it has been transformed to:

    <a href="http://www.cnn.com">http://WWW.CNN.COM</a>

     I imagine the Javascript is messing with my content prior to display.  Is there anything I can do to stop that from happening?  I need the case to stay as-is....

     

    TIA,

    DW

    • Post Points: 5
Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems