Results 1 to 2 of 2

Thread: Need HTMl help please

  1. #1
    Member
    Join Date
    Feb 12
    Posts
    59

    Need HTMl help please

    Hey all, I have to make it so when i click a button another .aspx file in my project opens up and I can't figure out how to make it so once the button is clicked it shows a new page. You are able to click the button but nothing changes.

    HTML Code:
    <button onclick="NVH_Click.aspx">NVH/Winter</button>
    Thank you in advance

  2. #2
    Hyperactive Member jasonwucinski's Avatar
    Join Date
    Mar 10
    Location
    Pittsburgh
    Posts
    443

    Re: Need HTMl help please

    this should probably be in the asp.net forum.

    if you want client side:
    Code:
    <input type="button" value="Click Me!"
    onClick="location.href=yourPage.aspx';">
    if you want server sided:

    Code:
            Server.Transfer("", True)
    or
     Response.Redirect("Page2.aspx")
    if i was able to help, rate my post!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •