[RESOLVED] Display button text as HTML?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: [RESOLVED] Display button text as HTML?

  1. #1
    Join Date
    Jan 2010
    Posts
    130

    [RESOLVED] Display button text as HTML?

    I have created a series of buttons in C# and would like their text to be displayed in HTML. Can I do this without changing the button to an HTML button?

    protected void CreateButton()
    {
    btnSkill = new Button();

    btnSkill.Text = "display this German symbol: ä"; // PROBLEM HERE!
    }


    Thank you very much in advance!

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,472

    Re: Display button text as HTML?

    Quote Originally Posted by stephsh View Post
    I have created a series of buttons in C# and would like their text to be displayed in HTML. Can I do this without changing the button to an HTML button?
    What is "an HTML button"?

    Quote Originally Posted by stephsh View Post
    Code:
    protected void CreateButton()
    {
    btnSkill = new Button();
    
    btnSkill.Text = "display this German symbol: ä"; // PROBLEM HERE!
    }
    What "PROBLEM"?
    What does this code have to do with VC++?
    Victor Nijegorodov

  3. #3
    Join Date
    Jan 2010
    Posts
    130

    Re: Display button text as HTML?

    sorry wrong board! not sure how to delete this post....

Tags for this Thread

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center