highlight_string() in asp.net ?

Last post 06-02-2008 6:20 AM by joeri pansaerts. 4 replies.

Sort Posts:

  • highlight_string() in asp.net ?

    05-31-2008, 1:11 PM

    Does asp.net has the highlight_string() function ?

    Kind Regards,

    Joeri Pansaerts.

    From Bruges, Belgium :)
  • Re: highlight_string() in asp.net ?

    05-31-2008, 1:56 PM
    Answer
    • Loading...
    • XIII
    • Joined on 07-01-2002, 3:59 AM
    • Essen, Belgium
    • Posts 9,889
    • Moderator
      TrustedFriends-MVPs

    Hi,

    not really but you could probably mimic it by using label controls and setting the CssClass of font properties of the control so that the text displays in another color.

    Grz, Kris.

    Read my blog | Members are volunteers so please keep out the (it's urgent | asap | reply me directly) stuff. Nobody's interested in that.
  • Re: highlight_string() in asp.net ?

    06-02-2008, 1:42 AM

     Hi Kris

    Yes indeed, but it's a big big big work to do that Crying

     

    Kind Regards,

    Joeri Pansaerts.

    From Bruges, Belgium :)
  • Re: highlight_string() in asp.net ?

    06-02-2008, 5:46 AM

    Hi joeri,

    There won't be to much code if it just highlight .NET keywords, search the keywords one by one and apply the font style. You may need existing ASP.NET control for complicated syntax highlighting.

     

    Zhao Ji Ma
    Sincerely,
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • Re: highlight_string() in asp.net ?

    06-02-2008, 6:20 AM

    hmmm and how can I find all the .net keywords ?

    Kind Regards,

    Joeri Pansaerts.

    From Bruges, Belgium :)
Page 1 of 1 (5 items)
Microsoft Communities
Page view counter