[CLOSED] Whats the different between Html and Text property in Ext.Net.Label?

  1. #1

    [CLOSED] Whats the different between Html and Text property in Ext.Net.Label?

    Hi,

    Like in Title I would like to know what is the different between this 2 properties and which one is recommended to display string formated like this above

     "<ul><li>something</li><li>something2</li></ul>"
    Thanks for advance:)
    Last edited by Daniil; Jul 25, 2012 at 6:16 PM. Reason: [CLOSED]
  2. #2
    Quote Originally Posted by ViDom View Post
    Hi,

    Like in Title I would like to know what is the different between this 2 properties and which one is recommended to display string formated like this above

     "<ul><li>something</li><li>something2</li></ul>"
    Thanks for advance:)
    The .Text property encodes the string value, so for example the '<' char will be converted into '&lt;'.

    The .Html property does not encode the string value.

    Hope this helps.
    Geoffrey McGill
    Founder
  3. #3
    Quote Originally Posted by geoffrey.mcgill View Post
    The .Text property encodes the string value, so for example the '<' char will be converted into '&lt;'.

    The .Html property does not encode the string value.

    Hope this helps.
    Thanks geoffrey :) That was exacly what I asking for:)

Similar Threads

  1. Replies: 2
    Last Post: Nov 03, 2011, 5:24 PM
  2. Replies: 4
    Last Post: Jul 29, 2011, 7:02 AM
  3. Replies: 4
    Last Post: Jun 25, 2010, 4:19 PM
  4. GUID in Ext:Label.Text property...
    By shaun in forum 1.x Help
    Replies: 2
    Last Post: Jul 26, 2009, 8:14 PM
  5. [CLOSED]Setting text property of label
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Oct 15, 2008, 12:19 PM

Posting Permissions