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. image varification

image varification

Scheduled Pinned Locked Moved ASP.NET
comtutorial
5 Posts 3 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.
  • M Offline
    M Offline
    Member_3259094
    wrote on last edited by
    #1

    hi every buddy i am using image signature in a page . in situation of wrong text input, image must be change without refreshing all data of page. then how to reload image signature on the page in that situation where real image in on the other page . please give me a solution

    Rajeev Kr. Sharma VRI Software Pvt.Ltd. New Delhi India HumOnline.com Stay Connected

    C 1 Reply Last reply
    0
    • M Member_3259094

      hi every buddy i am using image signature in a page . in situation of wrong text input, image must be change without refreshing all data of page. then how to reload image signature on the page in that situation where real image in on the other page . please give me a solution

      Rajeev Kr. Sharma VRI Software Pvt.Ltd. New Delhi India HumOnline.com Stay Connected

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

      RajeevKumarSharma wrote:

      without refreshing all data of page

      This means AJAX, or it means changing the image URL using javascript, if you know what the other image is when the page is generated.

      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 )

      M 1 Reply Last reply
      0
      • C Christian Graus

        RajeevKumarSharma wrote:

        without refreshing all data of page

        This means AJAX, or it means changing the image URL using javascript, if you know what the other image is when the page is generated.

        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 )

        M Offline
        M Offline
        Member_3259094
        wrote on last edited by
        #3

        actual problem is that 1- image crated on the imgvar.aspx 2- calling that image on registration.aspx 3- and now if user enter the wrong signature then that image should be change . then how to refresh that image and imgvar.aspx page for new image.

        Rajeev Kr. Sharma VRI Software Pvt.Ltd. New Delhi India HumOnline.com Stay Connected

        C V 2 Replies Last reply
        0
        • M Member_3259094

          actual problem is that 1- image crated on the imgvar.aspx 2- calling that image on registration.aspx 3- and now if user enter the wrong signature then that image should be change . then how to refresh that image and imgvar.aspx page for new image.

          Rajeev Kr. Sharma VRI Software Pvt.Ltd. New Delhi India HumOnline.com Stay Connected

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

          well, imgvar.aspx does not exist anymore. So, you need to know what image you want to show, either on the server ( which means an AJAX call ) or have it embedded in the script if you know it, so you can just set it on the client. But, if you need to store some data so the next time the user goes to imgvar.aspx they see a different image, then you probably need the AJAX call if you don't want a postback. imgvar.aspx will need to rebuild itself to show the new image you want it to show, and it will need to do that in response to state that is stored ( probably in your database, I am guessing ), by the ajax call from registration.aspx.

          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 )

          1 Reply Last reply
          0
          • M Member_3259094

            actual problem is that 1- image crated on the imgvar.aspx 2- calling that image on registration.aspx 3- and now if user enter the wrong signature then that image should be change . then how to refresh that image and imgvar.aspx page for new image.

            Rajeev Kr. Sharma VRI Software Pvt.Ltd. New Delhi India HumOnline.com Stay Connected

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

            Refer a capcha implementation here: http://www.codeproject.com/KB/aspnet/CaptchaImage.aspx[^] To refresh the image, simply have a JavaScript function which sets a blank.gif and set SRC value as a new call to aspx page with a random number to prevent caching.

            Vasudevan Deepak Kumar Personal Homepage
            Tech Gossips
            A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson

            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