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 display message and redirect to another page

how to display message and redirect to another page

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelptutorial
3 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.
  • I Offline
    I Offline
    imranafsari
    wrote on last edited by
    #1

    Dear All, I am using C# , asp.net , ajax1.0 My requirement is I have to give alert message and redirect to another page based on some condition Please suggest some link or idea Please help

    imran khan

    E S 2 Replies Last reply
    0
    • I imranafsari

      Dear All, I am using C# , asp.net , ajax1.0 My requirement is I have to give alert message and redirect to another page based on some condition Please suggest some link or idea Please help

      imran khan

      E Offline
      E Offline
      eyeseetee
      wrote on last edited by
      #2

      You could use a javascript popup box and then have a yes or no condition in it. Depending on which the user chooses you can redirect them to a certain page.

      The answers posted by me are suggestions only and cannot be used in anyway against me.

      1 Reply Last reply
      0
      • I imranafsari

        Dear All, I am using C# , asp.net , ajax1.0 My requirement is I have to give alert message and redirect to another page based on some condition Please suggest some link or idea Please help

        imran khan

        S Offline
        S Offline
        Sandeep Akhare
        wrote on last edited by
        #3

        Use Javscript for that Rigister a javscript function that will first show alert message then redirect user to next page Use javascript code to redirect javascript:window.location.href='NextPageName.aspx' Why you want to use Ajax for this ? Is there any business logic for it ?

        Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

        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