|
 |
aspx thread: asp:Texbox
Message #1 by "Mats Boberg" <mats.boberg@n...> on Thu, 19 Jul 2001 10:05:16 +0200
|
|
I have an page to update users.
At first i list all users in a custom datagrid.
There is a link on each user named "Get details".
When you click "Get details" on a user i show a
form with all data filled in in textboxes so you
can see all data and change them. There is a button
called save&close that calls a spUsers_Upd store procedure.
But, when i click the save&close button and reads the textboxes
,from the codebehind, that has been edited i get the old values.
Not the new, even if the textbox values in the browser has the
new values.
Is there a update texbox properties or is there something else i
have to do to get the edited values?
Mvh,
Mats Boberg.
Message #2 by "Mats Boberg" <mats.boberg@n...> on Thu, 19 Jul 2001 13:56:16 +0200
|
|
I found the error my self...
I read the old data from the dataset in the page=5Fload event...
I just added
if (!IsPostBack){
ShowUser();
}
/Mats.
-----Original Message-----
From: Mats Boberg [mailto:mats.boberg@n...]
Sent: den 19 juli 2001 10:05
To: ASP+
Subject: [aspx] asp:Texbox
I have an page to update users.
At first i list all users in a custom datagrid.
There is a link on each user named "Get details".
When you click "Get details" on a user i show a
form with all data filled in in textboxes so you
can see all data and change them. There is a button
called save&close that calls a spUsers=5FUpd store procedure.
But, when i click the save&close button and reads the textboxes
,from the codebehind, that has been edited i get the old values.
Not the new, even if the textbox values in the browser has the
new values.
Is there a update texbox properties or is there something else i
have to do to get the edited values?
Mvh,
Mats Boberg.
|
|
 |