Professional Web Applications Themes

Inserting Special Characters - ASP.NET Data Grid Control

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 ...

  1. #1

    Default Inserting Special Characters

    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


    eagle Guest

  2. #2

    Default Re: Inserting Special Characters

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

    Eliyahu

    "eagle" <eagle> wrote in message
    news:OrIklie8FHA.1276TK2MSFTNGP09.phx.gbl...
    > 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
    >

    Eliyahu Goldin Guest

  3. #3

    Default Re: Inserting Special Characters

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


    "Eliyahu Goldin" <removemeegoldinmonarchmed.com> wrote in message
    news:eVs5Bbz8FHA.3952TK2MSFTNGP12.phx.gbl...
    >I got it work by declaring a property in code-behind which returns the
    >character your need and databinding to this property.
    >
    > Eliyahu
    >
    > "eagle" <eagle> wrote in message
    > news:OrIklie8FHA.1276TK2MSFTNGP09.phx.gbl...
    >> 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
    >>
    >
    >

    eagle Guest

  4. #4

    Default Re: Inserting Special Characters

    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

    "eagle" <eagle> wrote in message
    news:OfzNu0H9FHA.1032TK2MSFTNGP11.phx.gbl...
    > Thanks! Can you post the code? My grid and the columns are already
    > bound, how could I do both?
    >
    >
    > "Eliyahu Goldin" <removemeegoldinmonarchmed.com> wrote in message
    > news:eVs5Bbz8FHA.3952TK2MSFTNGP12.phx.gbl...
    >>I got it work by declaring a property in code-behind which returns the
    >>character your need and databinding to this property.
    >>
    >> Eliyahu
    >>
    >> "eagle" <eagle> wrote in message
    >> news:OrIklie8FHA.1276TK2MSFTNGP09.phx.gbl...
    >>> 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
    >>>
    >>
    >>
    >
    >

    Eliyahu Goldin Guest

Similar Threads

  1. Special characters
    By phil_dude in forum Macromedia ColdFusion
    Replies: 2
    Last Post: September 10th, 02:06 PM
  2. xml and special characters
    By German Hernandez in forum Macromedia Flash Data Integration
    Replies: 4
    Last Post: May 14th, 12:02 AM
  3. More special characters in FH
    By maciekk in forum Macromedia Freehand
    Replies: 1
    Last Post: July 19th, 11:11 AM
  4. Special Characters - Mac vs. PC - Help
    By tracetm2 webforumsuser@macromedia.com in forum Macromedia Director Lingo
    Replies: 2
    Last Post: August 29th, 06:29 PM
  5. Special characters #,$ etc
    By Mark Denham in forum Informix
    Replies: 1
    Last Post: August 1st, 05:19 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139