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. Response.Redirect URL parametres

Response.Redirect URL parametres

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
4 Posts 4 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 all, I tried to build an app and I want to make one page, and to be able to decide what task is requested with parametres ?action=new or ?action=edit in URL. I have already read the article "Transferring Values and Controls", it helped me a lot, but I don't know what's the best way to show the appropriate set of controls in the page (for example: for registration of new account there are 5 textboxes, but for editing of existing user there are only 3 textboxes). I've got an idea to use a panel control. Is it right, or are there any better solutions? Thanks a lot.

    N S R 3 Replies Last reply
    0
    • C Chodici Mrkev

      Hi all, I tried to build an app and I want to make one page, and to be able to decide what task is requested with parametres ?action=new or ?action=edit in URL. I have already read the article "Transferring Values and Controls", it helped me a lot, but I don't know what's the best way to show the appropriate set of controls in the page (for example: for registration of new account there are 5 textboxes, but for editing of existing user there are only 3 textboxes). I've got an idea to use a panel control. Is it right, or are there any better solutions? Thanks a lot.

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Panel can work, or dynamically add the proper number of controls based on the param value.

      1 Reply Last reply
      0
      • C Chodici Mrkev

        Hi all, I tried to build an app and I want to make one page, and to be able to decide what task is requested with parametres ?action=new or ?action=edit in URL. I have already read the article "Transferring Values and Controls", it helped me a lot, but I don't know what's the best way to show the appropriate set of controls in the page (for example: for registration of new account there are 5 textboxes, but for editing of existing user there are only 3 textboxes). I've got an idea to use a panel control. Is it right, or are there any better solutions? Thanks a lot.

        S Offline
        S Offline
        S Sansanwal
        wrote on last edited by
        #3

        Create only one page and based on parameter, set visible property of controls Sanjay Sansanwal www.sansanwal.com

        1 Reply Last reply
        0
        • C Chodici Mrkev

          Hi all, I tried to build an app and I want to make one page, and to be able to decide what task is requested with parametres ?action=new or ?action=edit in URL. I have already read the article "Transferring Values and Controls", it helped me a lot, but I don't know what's the best way to show the appropriate set of controls in the page (for example: for registration of new account there are 5 textboxes, but for editing of existing user there are only 3 textboxes). I've got an idea to use a panel control. Is it right, or are there any better solutions? Thanks a lot.

          R Offline
          R Offline
          Rocky Moore
          wrote on last edited by
          #4

          I'm with Sanjay Sansanwal on this. Often I pop a div (with runat set to server) around blocks html on the page and in the page load, .Visible to false for them and then enable the blocks I want to use. Only the ones with visible set true will be rendered. Rocky <>< www.HintsAndTips.com www.MyQuickPoll.com - 2004 Election poll is #33 www.GotTheAnswerToSpam.com "We plan for the future, we learn from the past, we live life in the present!"

          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