formating text in textbox??

Last post 08-21-2008 3:39 PM by vgiambattista. 1 replies.

Sort Posts:

  • formating text in textbox??

    08-21-2008, 8:46 AM
    • Participant
      1,399 point Participant
    • jagjot
    • Member since 10-19-2006, 9:02 AM
    • United Kingdom
    • Posts 746

    hi folks,

    I am displaying datafield in a ajax popup control in a textbox from database for editing purpose(data in field is with html tags). but i am not able to edcode the data back to formatted display. if i use encode it displays with tags and if i use decode i displays unicode characters for tags.

    its annoying. i cant even see my textboxcontrol in codebehind as its in detailsview control in aspx page. is there any easy way of doing that.??

    please help.

    Jagjot Singh
    MCP, CCNA
  • Re: formating text in textbox??

    08-21-2008, 3:39 PM
    Answer

    jagjot,

    It sounds like you want to use an HTML editor component rather than trying to do this in a textbox.  There are a few available, including some free ones, but you might want to start with this one: http://aspalliance.com/1444_InlineEdit_Control_Using_ASPNET_20_AJAX_10_Extensions.all

    James

    James Ashley, Magenic Technologies
    (james.ashley.magenic@gmail.com)
Page 1 of 1 (2 items)