Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to get Client Confirmation

How to get Client Confirmation

Scheduled Pinned Locked Moved ASP.NET
csharpquestionasp-netsysadmintools
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    ram1974
    wrote on last edited by
    #1

    Hi all, I am developing a asp.net c# web application. In which on a specific condition in a code behind page I want to take the client confirmation, How can I achieve this. eg: If a client has given some input. I will check the input is already exist using the code behind(server side) and then I want to take a confirmation "does he want to overwrite his new input?". I can't do the checking using the client side script. any help is appreciated. Thanks in advance. -Ram.

    C 1 Reply Last reply
    0
    • R ram1974

      Hi all, I am developing a asp.net c# web application. In which on a specific condition in a code behind page I want to take the client confirmation, How can I achieve this. eg: If a client has given some input. I will check the input is already exist using the code behind(server side) and then I want to take a confirmation "does he want to overwrite his new input?". I can't do the checking using the client side script. any help is appreciated. Thanks in advance. -Ram.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Your two options then are a postback, or AJAX. you would use client side script if you want to show a confirmation message, there's just no way around that, but you can do a postback or AJAX call to check if you want to show the message.

      Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      R 1 Reply Last reply
      0
      • C Christian Graus

        Your two options then are a postback, or AJAX. you would use client side script if you want to show a confirmation message, there's just no way around that, but you can do a postback or AJAX call to check if you want to show the message.

        Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        R Offline
        R Offline
        ram1974
        wrote on last edited by
        #3

        Hi Christian Graus, Thanks a lot for your response. -Ram

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups