Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call aspx FROM VB.NET class

Status
Not open for further replies.

adalli

Programmer
Feb 8, 2005
44
MT
Hi,

Does anyone know if it's possible to call an ASPX form from a VB.NET class

Thanks,
 
Got it - just for who needs it

Dim myForm As New System.Web.UI.Page
myForm.Server.Transfer("Login.aspx")
 
You really shouldn't be issuing Redirect statements from a class. Instead, return the string in a public property from the class and have the calling page issue a redirect to that string.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top