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. adding controls on one page from another page in C#.NET

adding controls on one page from another page in C#.NET

Scheduled Pinned Locked Moved ASP.NET
csharpquestion
4 Posts 2 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.
  • S Offline
    S Offline
    ships_agr
    wrote on last edited by
    #1

    if user is on login page..then on clicking login button i want to redirect user to the home page along with adding a menu on the home page containing some options ,i'm able to add menu dynamically on home page using place holder...but is it possible in C#.NET to add it on click event of button on another page...??

    N 1 Reply Last reply
    0
    • S ships_agr

      if user is on login page..then on clicking login button i want to redirect user to the home page along with adding a menu on the home page containing some options ,i'm able to add menu dynamically on home page using place holder...but is it possible in C#.NET to add it on click event of button on another page...??

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

      No you can't add an event to another page. What event would you like to add?


      I know the language. I've read a book. - _Madmatt

      S 1 Reply Last reply
      0
      • N Not Active

        No you can't add an event to another page. What event would you like to add?


        I know the language. I've read a book. - _Madmatt

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

        hi...i'm making a website...i want that when user clicks login button...some options like "edit profile" and "logout" should get added on the home page for him and he should be directed to that home page instead of a new profile page....Is it possible in C#.NET???

        N 1 Reply Last reply
        0
        • S ships_agr

          hi...i'm making a website...i want that when user clicks login button...some options like "edit profile" and "logout" should get added on the home page for him and he should be directed to that home page instead of a new profile page....Is it possible in C#.NET???

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

          Normally this is accomplished by setting some sort of flag when the user is authenticated, then making the menu items visible or invisible depending on its value. Look at ASP/NET authentication and the login controls.


          I know the language. I've read a book. - _Madmatt

          modified on Sunday, March 21, 2010 6:17 PM

          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