dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Server-side datagrid button confirmation

  1. #1
    Join Date
    Feb 2004
    Posts
    13

    Server-side datagrid button confirmation

    Hi,
    I am trying to confirm if a user wishes to delete a record from a datagrid. The button occurs in different datagrids in either a template column or a button column. The confirmation must take place even if the user has disabled javascript, and should be handled server-side.

    Would anyone be able to point me in the right direction over this?

    Thanks,

    Matt

  2. #2
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    personally, I would have the button not delete the record, but redirect them to another page that askes for confirmation. You can do it with js, but then if the user doesnt have js, no confirmation, but if you back it up server side, you will be resending the page anyway. So you might as well just do it server side. Id either use a link with a query string with the file name in it, or use a server.transfer or a reponse.redirect with the query string.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles