Textbox Font and Fontsize in Edit Mode

Ask a Question related to ASP.NET Data Grid Control, Design and Development.

  1. #1

    Default Textbox Font and Fontsize in Edit Mode

    How do I change the textbox font and fontsize in Edit Mode? Thanks,

    -Dave


    RockNRoll Guest

  2. Similar Questions and Discussions

    1. font rendering in edit mode
      When we are making edits with the cs3 verison of contribute the font will render to an unreadable size when in edit mode. Does anyone have a clue as...
    2. FONT SIZES IN EDIT MODE
      Just had my first look at contribute, and when i am in edit mode, some of the text appears so small on my screen its impossible to read, and...
    3. Edit button not converting to edit mode
      I am running into this issue. I am still trying to pinpoint what is causing it but am having a hard time.
    4. Would like to load a datagrid already in edit mode instead of having the user click the edit button
      Now my asp.net datagrid shows an edit button and clicking it puts the datagrid in edit mode. I would like to: 1) possilby load the page already...
    5. Set the width of the edit textbox after clicking on Edit link in datagrid...
      Hi There, I have a data grid where I have a couple of columns as follows: ----------------------------------------- |id | textual...
  3. #2

    Default Re: Textbox Font and Fontsize in Edit Mode

    Hi RockNRoll,

    You can change the Font,fontsize for a datagrid in editmode by
    using this event

    Create a CSS class with some name and add the font size, font style
    etc..etc..

    private void DataGridName_EditCommand()
    {
    e.Item.CssClass = "ClassName";

    }

    The above code will change the style at runtime.

    You can also change the style at design time.
    If your columns in Datagrid are template columns then you can rightclick on
    grid and click on edit column [0] , column[1] ..etc..
    and then choose the controls in the grid and set the CSS style for
    editItemTemplate accordingly in Css in property window.

    Hope this helps you.

    Thanks
    Raghavendra

    "RockNRoll" <daveweber@yahoo.com> wrote in message
    news:O6YFpH6jEHA.2764@TK2MSFTNGP11.phx.gbl...
    > How do I change the textbox font and fontsize in Edit Mode? Thanks,
    >
    > -Dave
    >
    >

    Raghavendra T V Guest

Posting Permissions

  • You may not post new threads
  • You may 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