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 redirect in to a perticular panel

how to redirect in to a perticular panel

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
3 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.
  • B Offline
    B Offline
    bigphish
    wrote on last edited by
    #1

    i have some panels in my default.aspx page ,say pane11 and panel 2.in the next page i have a button, when i am clicking the button it should go to panel2 in default.aspx. how to redirect in to a perticular panel in a page? "Lack of will power has caused more failure than lack of intelligence or ability. "

    J 1 Reply Last reply
    0
    • B bigphish

      i have some panels in my default.aspx page ,say pane11 and panel 2.in the next page i have a button, when i am clicking the button it should go to panel2 in default.aspx. how to redirect in to a perticular panel in a page? "Lack of will power has caused more failure than lack of intelligence or ability. "

      J Offline
      J Offline
      Jesse Squire
      wrote on last edited by
      #2

      Lets assume that your panel2's id is "panel2". If you formatted your link as default.aspx#panel2 when redirecting, the browser will attempt to jump to that element. If there is enough content, the browser will scroll so that the element with "panel2" is the element at the top of the page. If there is not enough content, it will scroll "panel2" as close to the top as possible. One thing to keep in mind with ASP.NET and server controls is that the id that you assign may not be the id that the browser receives. Be sure to use the ClientID property of panel2 to ensure the id is fully formed. Hope that helps. :)

      --Jesse

      "... the internet's just a big porn library with some useful articles stuck in." - Rob Rodi

      B 1 Reply Last reply
      0
      • J Jesse Squire

        Lets assume that your panel2's id is "panel2". If you formatted your link as default.aspx#panel2 when redirecting, the browser will attempt to jump to that element. If there is enough content, the browser will scroll so that the element with "panel2" is the element at the top of the page. If there is not enough content, it will scroll "panel2" as close to the top as possible. One thing to keep in mind with ASP.NET and server controls is that the id that you assign may not be the id that the browser receives. Be sure to use the ClientID property of panel2 to ensure the id is fully formed. Hope that helps. :)

        --Jesse

        "... the internet's just a big porn library with some useful articles stuck in." - Rob Rodi

        B Offline
        B Offline
        bigphish
        wrote on last edited by
        #3

        Thanks very much.let me try.

        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