|
-
May 15th, 2003, 02:50 PM
#1
Thread Starter
Lively Member
How do you open another aspx page in .net
Newbie to ASP.NET Longtime VB6 Programmer
I do not want to place code in HTML but Rather in WebForm .net code. How do you reference another page.
Say I am Login.aspx webform and I click a button. I want to send them to a welcome page called test.aspx.
How do I write the code in .net Design and not HTML??
Also, Is it better to code in HTML or .NET in a webform??
-
May 15th, 2003, 02:54 PM
#2
response.redirect in the buttons click event
"Also, Is it better to code in HTML or .NET in a webform??"
You use both. You obviously wouldnt want to use web form controls when you dont need server side processing
-
May 15th, 2003, 03:14 PM
#3
Thread Starter
Lively Member
So lets say a user gets to a web page without going through my login page, (They type it directly in) and I have some script on my page in the Page_Load
If Session("Level") <> 1 then
response.redirect("Login.aspx")
end if
Since this is not in HTML and in the WebForm, is this server side instead of Client side. How do you tell.
-
May 15th, 2003, 03:31 PM
#4
http://www.asp.net/tutorials/quickstart.aspx
Would be better for you if you go through the info on that link than it would be for me to try to explain it as you need to learn the fundimentals of ASP.NET.
Good luck.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|