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

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 (here). After that, you can post your question and our members will help you out.