Professional Web Applications Themes

Textbox Font and Fontsize in Edit Mode - ASP.NET Data Grid Control

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

Sponsored Links
  1. #1

    Default Textbox Font and Fontsize in Edit Mode

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

    -Dave


    Sponsored Links
    RockNRoll Guest

  2. #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> wrote in message
    news:O6YFpH6jEHA.2764TK2MSFTNGP11.phx.gbl...
    > How do I change the textbox font and fontsize in Edit Mode? Thanks,
    >
    > -Dave
    >
    >

    Raghavendra T V Guest

Similar Threads

  1. font rendering in edit mode
    By codeshop in forum Macromedia Contribute General Discussion
    Replies: 0
    Last Post: December 11th, 08:16 PM
  2. FONT SIZES IN EDIT MODE
    By WebTrend in forum Macromedia Contribute General Discussion
    Replies: 4
    Last Post: August 9th, 09:59 PM
  3. Edit button not converting to edit mode
    By wickahead in forum Macromedia Contribute General Discussion
    Replies: 0
    Last Post: May 5th, 08:02 PM
  4. Replies: 8
    Last Post: April 29th, 09:33 AM
  5. Set the width of the edit textbox after clicking on Edit link in datagrid...
    By Sharon McCarty in forum ASP.NET Data Grid Control
    Replies: 0
    Last Post: November 24th, 06:41 PM

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