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. ”