chobo2
chobo2

Reputation: 85775

Possible to render html in a compact edition mobile 6 phone form?

I am wondering does anyone know if it is possible to render html in a mobile 6 form? The only way I can think that may work is the internal web browser control.

I am wondering is there a better way? I am thinking if I go the path of web browser control I will have to generate an html file then insert the code I want into this file.

I need something like this because I am pulling in some text that can possibly be formatted with html stuff such as font weight.

Upvotes: 0

Views: 532

Answers (3)

ChrisW
ChrisW

Reputation: 56113

I have written an HTML edit control for .NET.

It doesn't currently support Windows Mobile: but I have Windows Mobile development experience myself, and I might be able to port it to the Compact Framework, if you would be willing to pay for that, as explained in the Developing New Functionality section.

Upvotes: 0

Joseph Earl
Joseph Earl

Reputation: 205

As people have said you do need 2 controls, but it might be possible to hide the regular textbox (maybe behind the browser control) will still leaving it editable.

In this case although it would be controlled underneath with code like <b>mytext</b>, the user would never see that giving them some illusion of a WYSIWYG editor (though I can already imagine a few problems you might come into attempting this)

Upvotes: 0

ctacke
ctacke

Reputation: 67178

A Browser Control is really the only way (unless you want to parse the HTML yourself and turn it into rich text for an RTF control, or worse, manually handle it all yourself).

Upvotes: 3

Related Questions