newprogrammer999
Programmer
Hi all,
I have an asp page that has the following structure:
<html>
form action = ""
some html code to draw textboxes and a button "create"
<% if action = "create"
....
make new button "DoThis"
elseif action = "DoThis"
do some actions
end if
%>
My problenm is that when i fill in the textboxes and then press the create button the values in the textboxes become blank. I have tried using sesion valiables to assign values to the textboxes but it just draws new textboxes whith the values inside them. A friend also suguested something like:
If("Page.IsPostBack" Then
but I think this is only a .net feature??
Basically my problem is that i want to do some action on the page and keep the current values in the textboxes. It seems simple but I still can't manage it! Any help on this would be much appreciated.
Regards,
benny
I have an asp page that has the following structure:
<html>
form action = ""
some html code to draw textboxes and a button "create"
<% if action = "create"
....
make new button "DoThis"
elseif action = "DoThis"
do some actions
end if
%>
My problenm is that when i fill in the textboxes and then press the create button the values in the textboxes become blank. I have tried using sesion valiables to assign values to the textboxes but it just draws new textboxes whith the values inside them. A friend also suguested something like:
If("Page.IsPostBack" Then
but I think this is only a .net feature??
Basically my problem is that i want to do some action on the page and keep the current values in the textboxes. It seems simple but I still can't manage it! Any help on this would be much appreciated.
Regards,
benny