Newbie Delete question

Discussion in 'ASP .Net Datagrid Control' started by Robert Dufour, May 3, 2007.

  1. I have a gridview that allows deletes, It uses a single table but the
    contents of the table rel;ate to a child table and in then sql server
    defintions, cascabding deletes are not allowed. So functionally it works as
    it should , If I try to delete a record that has child recors I get an error
    page if I try to delete a record with no child records, delete works OK.

    However I would like to have a more user friendly interface than the
    standard error page popup and have the user come back to the same page
    automatically. How can I do this?

    Thanks for any help?
    Robert Dufour, May 3, 2007
    1. Advertisements

  2. No had not thought of that.
    Weill look at it
    Robert Dufour, May 6, 2007
    1. Advertisements

  3. Had to put it on the back burner, something else came up, haven't checked it
    out yet, sorrry
    Robert Dufour, May 20, 2007
    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.