How i can open page in new tap in asp.net?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Cabaas
    New Member
    • Jul 2012
    • 1

    #1

    How i can open page in new tap in asp.net?

    my proplem is when i open my ASP page in new tab, he will not loud inside the home page, he will apear sparetly with the home page
  • biragonisrinu
    New Member
    • Jun 2012
    • 4

    #2
    down vote


    Just register a window.open command in the start client script.

    In your C# client side code (event):

    RegisterStartup Script("SomeNam eForThisScript" , "window.open('Y ourPage.aspx'); ");

    When you page is served up, the startup script will fire and open a new window. You can customize how the window.open works via attributes.

    Comment

    Working...