Setting a textbox in a GridView to ReadOnly?

Discussion in 'ASP .Net' started by swep, Nov 14, 2006.

  1. swep

    swep Guest

    I have a Gridview control that has 5 columns. When a user selects
    "Edit", I'd like to make 3 of the columns set to "Readonly". However,
    when I set the 3 column's boundfield properties to "ReadOnly=True", the
    update does not work. Is there a way to set the readonly property to
    "true" for some of the columns' textbox properties and not the others?
    -swep
     
    swep, Nov 14, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. doug albright
    Replies:
    0
    Views:
    491
    doug albright
    Aug 30, 2003
  2. Angela Chen
    Replies:
    3
    Views:
    9,109
    parshuram
    Dec 6, 2004
  3. Replies:
    4
    Views:
    982
    Zoe Brown
    Sep 12, 2005
  4. =?Utf-8?B?SmltIEhlYXZleQ==?=

    Textbox Readonly

    =?Utf-8?B?SmltIEhlYXZleQ==?=, Jun 30, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    578
    =?Utf-8?B?SmltIEhlYXZleQ==?=
    Jun 30, 2005
  5. Jonathan Hyatt
    Replies:
    1
    Views:
    2,134
    Jonathan Hyatt
    Jun 8, 2004
Loading...

Share This Page