Gridview: Edit row validation

Discussion in 'ASP .Net Web Controls' started by carlor, Oct 16, 2006.

  1. carlor

    carlor Guest

    Hi,

    I have a grid view that, when the row is in edit mode, contains a pair of
    radio buttons (Yes/No) and 3 edit fields (2 text boxes and a drop down list).
    I have business rule that states that if Yes is selected, the 3 edit fields
    are required but if No is selected the 3 edit fields are not required and
    ideally should not be displayed.

    I would like to do this without a round-trip to the server on the radio
    button click. Does anyone know how to handle this?

    Thanks,

    Carlo.
     
    carlor, Oct 16, 2006
    #1
    1. Advertisements

  2. Robert Haken [MVP], Oct 16, 2006
    #2
    1. Advertisements

  3. carlor

    carlor Guest

    Thanks Robert,

    That's just what I was looking for.

    Carlo.
     
    carlor, Oct 17, 2006
    #3
    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.
Similar Threads
There are no similar threads yet.
Loading...