Looking for a vb grid that supports html

kevinful
kevinful used Ask the Experts™
on
I'm looking for a vb grid object that I can put HTML into and it will display it in correct HTML. I need it to support many different HTML tags, so just doing underline, bold, and italics won't really work.  If anyone knows of such a thing, or a way to do it myself, please let me know! I am willing to pay for such a product.

If I can't find such a grid control, then I'll have to convert the HTML tags myself... in which case I would need a grid that supports boldfacing a specific word in a cell, which Microsoft's grid (as far as I can tell) cannot do... I can only get it to boldface an entire cell.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
I would use the WebBrowser control (Project -> Components  :  Microsoft Internet Controls).  You can size/position it so that it fits in your grid control.

Author

Commented:
Azrasound:
Good suggestion, but I'm filling this grid with lots of data (around 500 rows), and each row may need a boldfaced, italicized, etc. word.  I think if I used a WebBrowser control I would have to use a WebBrowser control for each row, and Visual Basic would not allow that many controls on one form.  
Well, you are limited by the number of named controls on a form, but the actual number of controls on the form is limited only by your GDI resources.  I'm not sure how much 500 webbrowser controls would take up, but its worth looking into (especially if you want support for all HTML tags).  The only other control that can give you this sort of formatting would be the richtextbox control, but I dont know if you are saving any resources using it instead.  You would be writing the extra code to parse the html and putting it into the richtextbox as well.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
Sounds ugly, but it might be the only way to fully support HTML.  Does anyone have any suggestions for part b of my question (a grid that just supports boldfacing, italics, underlines for a specific word in a cell)?  Without overlaying a different control this time.
I think there may be several commercial products out there that provide this type of functionality.  I have never used any myself so I can't offer any first-hand experience.  However, Infragistics tends to put out quality components, and their UltraGrid product may provide everything you need (and then some):

http://infragistics.com/products/activex/ultragrid.asp

Author

Commented:
Azrasound:
Thank you for all your comments, they were all very useful and informative!  My company and I are considering using the UltraGrid product presently, as it is the best grid we've seen so far that does HTML (although it is $400).  I will post what we end up doing.  Thanks again!
Glad I could help!  Good luck with everything.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial