M
MCDONAMW
First off, forgive me for being such a noob. I typically program
vb.net, but I need to do some asp.net programming.
I have something simple I have no idea how to do!
I have an aspx page which is essentially a form containing a few text
boxes and a submit button.
The user types in the various fields, and hits the submit button.
This button fires off an email via smtp containing information from
those text boxes.
My question is.. can I verify the email was sent? I guess if there's
no error it was sent.
My next part of this is how to display to the user a message denoting
success.
As it stands, the form submits, and it just returns to the same form
with all of the information still there. I plan on clearing all of
the fields, but what I'd rather do is present a message, akin to a
messagebox popup, alerting the user that request was submitted.
This should be so easy yet I'm stumped. Should I be calling a
seperate asp page with nothing but "request submitted" as the text?
That seems like a waste. Hell even that I do not know how to do!
What are my options? Someone suggested using a panel, and hide/show,
etc. I tried putting my labels/textboxes into a panel and it did
nothing but mess the format up. The spacing was all messed up. Not
much drag and drop functionality with the panel. It seems more html
based when it comes to positioning.
I don't know what else to do.
Again sorry for the sheer ignorance on the subject. I just need some
guidance. (I'm not lookin to read a 1000 page book on asp.net just to
get this functionality). Thanks.
Matthew
vb.net, but I need to do some asp.net programming.
I have something simple I have no idea how to do!
I have an aspx page which is essentially a form containing a few text
boxes and a submit button.
The user types in the various fields, and hits the submit button.
This button fires off an email via smtp containing information from
those text boxes.
My question is.. can I verify the email was sent? I guess if there's
no error it was sent.
My next part of this is how to display to the user a message denoting
success.
As it stands, the form submits, and it just returns to the same form
with all of the information still there. I plan on clearing all of
the fields, but what I'd rather do is present a message, akin to a
messagebox popup, alerting the user that request was submitted.
This should be so easy yet I'm stumped. Should I be calling a
seperate asp page with nothing but "request submitted" as the text?
That seems like a waste. Hell even that I do not know how to do!
What are my options? Someone suggested using a panel, and hide/show,
etc. I tried putting my labels/textboxes into a panel and it did
nothing but mess the format up. The spacing was all messed up. Not
much drag and drop functionality with the panel. It seems more html
based when it comes to positioning.
I don't know what else to do.
Again sorry for the sheer ignorance on the subject. I just need some
guidance. (I'm not lookin to read a 1000 page book on asp.net just to
get this functionality). Thanks.
Matthew