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. URL parameters

URL parameters

Scheduled Pinned Locked Moved ASP.NET
htmlhelptutorialquestion
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.
  • C Offline
    C Offline
    Chodici Mrkev
    wrote on last edited by
    #1

    Hi, I would like to know how can I have one page Register.aspx in my case, At first I have textboxes there (Name, Surname, Username, ...) then Submit button. After an users clicks on Submit, I want to show him: "Your registration data were successfully sent to the administrator. The activation can take about 48 hours. Thank you for your registration). I solved it this way: I created another page: RegistrationResult.aspx, where I have HTML label, in which is that text. I know it is bad solution, I would like to do it with parameters in URL adress, but I don't know how can I get this parameters and how to show desired content (to use panel and set Visibility or how) Thanks for your help or article link.

    I M 2 Replies Last reply
    0
    • C Chodici Mrkev

      Hi, I would like to know how can I have one page Register.aspx in my case, At first I have textboxes there (Name, Surname, Username, ...) then Submit button. After an users clicks on Submit, I want to show him: "Your registration data were successfully sent to the administrator. The activation can take about 48 hours. Thank you for your registration). I solved it this way: I created another page: RegistrationResult.aspx, where I have HTML label, in which is that text. I know it is bad solution, I would like to do it with parameters in URL adress, but I don't know how can I get this parameters and how to show desired content (to use panel and set Visibility or how) Thanks for your help or article link.

      I Offline
      I Offline
      iamalik
      wrote on last edited by
      #2

      A simple method is that, you can create different session variables, and then you can assign the desired values to them.U can also retrieve the data from them. Like this session.item("Name")="------------" session.item("Surname")="----------" U can create these variables on Submit button's Onclick Event. ;P;P;P

      1 Reply Last reply
      0
      • C Chodici Mrkev

        Hi, I would like to know how can I have one page Register.aspx in my case, At first I have textboxes there (Name, Surname, Username, ...) then Submit button. After an users clicks on Submit, I want to show him: "Your registration data were successfully sent to the administrator. The activation can take about 48 hours. Thank you for your registration). I solved it this way: I created another page: RegistrationResult.aspx, where I have HTML label, in which is that text. I know it is bad solution, I would like to do it with parameters in URL adress, but I don't know how can I get this parameters and how to show desired content (to use panel and set Visibility or how) Thanks for your help or article link.

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

        This article is good for you to read: http://www.codeproject.com/useritems/TransferingValues.asp[^] Mazy
        "One who dives deep gets the pearls,the burning desire for realization brings the goal nearer." - Babuji

        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