Sign in to follow this  
NightMarez

[.net] .net Gridview question about using smilies.

Recommended Posts

NightMarez    108
Hi all. Im currently working on a chat program, where i use a gridview to display data. So i have a "time" grid, and a message grid with a "[username] says this" But, is it possible in some sort or wierd way to make it display smilies ? like, "[username] says :) this" and make :) a image. I heard it is possible in some sort of way using some GDI function or something to render the image, but im unsure on how to proceed. Anyone know anyone who has made something like this, or any idea on how to go on about this ? Thanks for any information.

Share this post


Link to post
Share on other sites
Headkaze    607
Use a RichTextBox instead and you can insert graphics within the text.

Here's an example http://www.codeproject.com/KB/edit/csexrichtextbox.aspx

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this