Inserting Special Characters

E

eagle

Is there a way to put a special character in a heading on a grid, such as a
checkmark (asc 3882 I believe)? so that it looks like this: Check Me Ö
 
E

Eliyahu Goldin

I got it work by declaring a property in code-behind which returns the
character your need and databinding to this property.

Eliyahu
 
E

eagle

Thanks! Can you post the code? My grid and the columns are already bound,
how could I do both?
 
E

Eliyahu Goldin

In the code-behind (c#):

public static string DATECOMPRESSED
{
// squared plus
get {return "\u229e";}
}

in the .aspx file:
<%# DATECOMPRESSED %>
Put it somewhere in your HeaderTemplate

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,602
Members
45,184
Latest member
ZNOChrista

Latest Threads

Top