How to disable adding a new record in DetailView

Discussion in 'ASP .Net Web Controls' started by Navin Mishra, Aug 17, 2009.

  1. Navin Mishra

    Navin Mishra Guest

    Hi,

    I show detail of a master record in a Details View control. However, for
    each master record, I need to allow only one detail record. If detail record
    is not there, I want allow adding one. But, if there is one already, I don't
    want to allow adding a new one, So, how could I disable New link button when
    a record is already present ?

    Thanks in advance and regards

    Navin
     
    Navin Mishra, Aug 17, 2009
    #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.