Click here to Skip to main content
16,011,120 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: jumping to a different page Pin
omkamal17-Jan-02 11:39
omkamal17-Jan-02 11:39 
GeneralRe: jumping to a different page Pin
Konstantin Vasserman17-Jan-02 11:47
Konstantin Vasserman17-Jan-02 11:47 
GeneralRe: jumping to a different page Pin
omkamal17-Jan-02 11:52
omkamal17-Jan-02 11:52 
GeneralRe: jumping to a different page Pin
Konstantin Vasserman17-Jan-02 11:58
Konstantin Vasserman17-Jan-02 11:58 
GeneralRe: jumping to a different page Pin
Konstantin Vasserman17-Jan-02 12:01
Konstantin Vasserman17-Jan-02 12:01 
GeneralRe: jumping to a different page Pin
omkamal18-Jan-02 3:57
omkamal18-Jan-02 3:57 
GeneralRe: jumping to a different page Pin
21-Jan-02 19:29
suss21-Jan-02 19:29 
GeneralRe: jumping to a different page Pin
Paul Watson19-Jan-02 4:13
sitebuilderPaul Watson19-Jan-02 4:13 
omkamal wrote:
Then how would I jump to a different page?

Ok if all you want to do is jump to a different page then use response.redirect(), use a normal hyperlink or use javascript.

But I think you mean you want to submit a form, carry over the form data and process it on another page.

Your problem is that you are trying to apply ASP thinking to ASP.NET. The biggest bonus of ASP.NET is that it handles "state" for you. You build a form as per normal, don't worry about the action attribute though, and the submit button is then linked to a procedure (when you build your form just double click the submit button, in the IDE, and you will see). In the procedure you have the code which handles the form data. I just type "strFirstName = frmMain.txtFirstName" in the procedure and it works. ASP.NET handles it all for you.

I recommend you go through The ASP.NET Page Life Cycle and ASP.NET Code Behind Pages, and remember to stop thinking in old ASP terms. ASP.NET is rather different, and RATHER better Smile | :)

regards,
Paul Watson
Bluegrass
Cape Town, South Africa

"The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge

Martin Marvinski wrote:
Unfortunatly Deep Throat isn't my cup of tea

Do you Sonork? I do! 100.9903 Stormfront
GeneralRe: jumping to a different page Pin
omkamal20-Jan-02 5:23
omkamal20-Jan-02 5:23 
GeneralRe: jumping to a different page Pin
Konstantin Vasserman20-Jan-02 5:49
Konstantin Vasserman20-Jan-02 5:49 
GeneralRe: jumping to a different page Pin
Joshua Guy28-Feb-02 4:15
Joshua Guy28-Feb-02 4:15 
GeneralNo more ADO after installing latest MDAC! Pin
Alvaro Mendez14-Jan-02 7:26
Alvaro Mendez14-Jan-02 7:26 
GeneralGetting focus of a form element Pin
Wolfram Steinke12-Jan-02 23:53
Wolfram Steinke12-Jan-02 23:53 
GeneralRe: Getting focus of a form element Pin
Paul Watson15-Jan-02 10:07
sitebuilderPaul Watson15-Jan-02 10:07 
GeneralDHTML - replacing text in a table cell Pin
Wolfram Steinke10-Jan-02 7:37
Wolfram Steinke10-Jan-02 7:37 
GeneralRe: DHTML - replacing text in a table cell Pin
alex.barylski11-Jan-02 11:53
alex.barylski11-Jan-02 11:53 
QuestionAnyone have a WAP device? Pin
Chris Maunder10-Jan-02 1:34
cofounderChris Maunder10-Jan-02 1:34 
AnswerRe: Anyone have a WAP device? Pin
Paul Watson10-Jan-02 8:42
sitebuilderPaul Watson10-Jan-02 8:42 
GeneralRe: Anyone have a WAP device? Pin
Chris Maunder10-Jan-02 10:45
cofounderChris Maunder10-Jan-02 10:45 
GeneralRe: Anyone have a WAP device? Pin
Paul Watson10-Jan-02 23:31
sitebuilderPaul Watson10-Jan-02 23:31 
AnswerRe: Anyone have a WAP device? Pin
markkuk10-Jan-02 20:22
markkuk10-Jan-02 20:22 
GeneralRe: Anyone have a WAP device? Pin
Chris Maunder10-Jan-02 22:35
cofounderChris Maunder10-Jan-02 22:35 
GeneralRe: Anyone have a WAP device? Pin
Paul Watson10-Jan-02 23:24
sitebuilderPaul Watson10-Jan-02 23:24 
GeneralRe: Anyone have a WAP device? Pin
Chris Maunder10-Jan-02 23:42
cofounderChris Maunder10-Jan-02 23:42 
GeneralRe: Anyone have a WAP device? Pin
Paul Watson11-Jan-02 5:34
sitebuilderPaul Watson11-Jan-02 5:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.