Results 1 to 3 of 3

Thread: How to call an ASP page from another page?

  1. #1

    Thread Starter
    Fanatic Member sbasak's Avatar
    Join Date
    Aug 2001
    Location
    Globe Trotter
    Posts
    524

    How to call an ASP page from another page?

    How to call an ASP page from another page?

    In VB.NET , we can use
    dim f as new MyForm()
    f.Show()

    What's the equivalent syntax in ASP.NET?

    Thanx
    Life is a one way journey, not a destination. Travel it with a smile and never regret anything.
    Yesterday is history, tomorrow is a mystery, today is gift - that's why we call it present.

  2. #2
    Addicted Member
    Join Date
    Sep 2003
    Posts
    227
    i dont think you can do what you do in windows forms, simply give a hyperlink to the page you want to open

  3. #3
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092
    or if you want to do it in code rather than a hyperlink just use
    response.redirect("whatever.aspx") or
    server.transfer("whatever.aspx")
    i'd use the first one for now.

Posting Permissions

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



Click Here to Expand Forum to Full Width