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. Yes/No Confirm box help!

Yes/No Confirm box help!

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasetoolshelp
5 Posts 5 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.
  • E Offline
    E Offline
    eepman25
    wrote on last edited by
    #1

    Hello! One of my ASP.NET projects uses DropDown boxes. When the selected index of a certain drop down box changes I want to popup a yes/no message box asking if you want to change that value. If they do then the dropdown changes if they do not then it goes back to what it was before they touched it. I am having problems creating a client side script that would perform this function. I DO NOT want OK/CANCEL box. Any help would be greatly appreciated! EEP

    C V C M 4 Replies Last reply
    0
    • E eepman25

      Hello! One of my ASP.NET projects uses DropDown boxes. When the selected index of a certain drop down box changes I want to popup a yes/no message box asking if you want to change that value. If they do then the dropdown changes if they do not then it goes back to what it was before they touched it. I am having problems creating a client side script that would perform this function. I DO NOT want OK/CANCEL box. Any help would be greatly appreciated! EEP

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

      I don't think that a yes/no box is on offer, unless you created a form to do it.

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      1 Reply Last reply
      0
      • E eepman25

        Hello! One of my ASP.NET projects uses DropDown boxes. When the selected index of a certain drop down box changes I want to popup a yes/no message box asking if you want to change that value. If they do then the dropdown changes if they do not then it goes back to what it was before they touched it. I am having problems creating a client side script that would perform this function. I DO NOT want OK/CANCEL box. Any help would be greatly appreciated! EEP

        V Offline
        V Offline
        Vasudevan Deepak Kumar
        wrote on last edited by
        #3

        Your own Custom WebForm for Confirmation in a ShowModalDialog should provide help on this.

        Vasudevan Deepak Kumar Personal Homepage Tech Gossips

        1 Reply Last reply
        0
        • E eepman25

          Hello! One of my ASP.NET projects uses DropDown boxes. When the selected index of a certain drop down box changes I want to popup a yes/no message box asking if you want to change that value. If they do then the dropdown changes if they do not then it goes back to what it was before they touched it. I am having problems creating a client side script that would perform this function. I DO NOT want OK/CANCEL box. Any help would be greatly appreciated! EEP

          C Offline
          C Offline
          Cfer83
          wrote on last edited by
          #4

          I suppose what you're doin is creating a confirmation for a value change. maybe you should use Javascript to create a Confirm(). Javascript is widely accepted for this especially client-side script-wise, but if you want something else, you can popup a new mini browser window to the user with the confirmation buttons.

          1 Reply Last reply
          0
          • E eepman25

            Hello! One of my ASP.NET projects uses DropDown boxes. When the selected index of a certain drop down box changes I want to popup a yes/no message box asking if you want to change that value. If they do then the dropdown changes if they do not then it goes back to what it was before they touched it. I am having problems creating a client side script that would perform this function. I DO NOT want OK/CANCEL box. Any help would be greatly appreciated! EEP

            M Offline
            M Offline
            Michael Sync
            wrote on last edited by
            #5

            chk it out.. http://michaelsync.net/2007/01/01/custom-javascript-dialog/

            Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net) If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you. :)

            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