Results 1 to 4 of 4

Thread: [2005] Best Control To Use???

  1. #1
    Frenzied Member
    Join Date
    Aug 06
    Posts
    1,770

    [2005] Best Control To Use???

    Hi Peeps,

    I have a dynamic webpage which I populate a label control with a load of text from my database. The problem is it removes carriage returns etc. In the future I need the control to have html tags in it. Can anyone suggest which control I should be using rather than a label.

    Thanks in advance for any help,

    Jiggy!

  2. #2
    ASP.NET Moderator mendhak's Avatar
    Join Date
    Feb 02
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,174

    Re: [2005] Best Control To Use???

    <asp:Literal> control.

    Carriage returns, however, you will need to convert to <br />

  3. #3
    Frenzied Member
    Join Date
    Aug 06
    Posts
    1,770

    Re: [2005] Best Control To Use???

    Thanks mate! I am writing a front end in VB.net to deal with the tags.

  4. #4
    ASP.NET Moderator mendhak's Avatar
    Join Date
    Feb 02
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,174

    Re: [2005] Best Control To Use???

    Yes, that makes sense, do the replacement.

    Is it a client requirement to make it as a windows forms application?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •