opening a new window in c#.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sowmyat
    New Member
    • Feb 2007
    • 6

    opening a new window in c#.net

    hi,

    Do any know how to open a new window when the user clicks a button in c# .net.
    plz help........
  • Ripendra007
    New Member
    • Feb 2007
    • 27

    #2
    just write script for opening the window like


    <script >
    function open()
    {
    window.open('wi ndow name to open');
    }
    </script>


    onclick of button just call the function open();

    like


    <asp:button onclick="open() ;"></asp:button>

    Comment

    • kenobewan
      Recognized Expert Specialist
      • Dec 2006
      • 4871

      #3
      Or from the onclick event use attributes.add.

      Comment

      • kenobewan
        Recognized Expert Specialist
        • Dec 2006
        • 4871

        #4
        Or from the onclick event of the control use attributes.add.

        Comment

        Working...