Ask a Question related to ASP.NET General, Design and Development.
-
Philip Townsend #1
TextBox Controls losing their values
I have a user control that contains a form with several text boxes. The
text boxes get populated from a SQL Server table when the control loads.
When the controls posts back, any values that have changed get passed to
a stored procedure to update the table. The problem is that when the
form is submitted, the text boxes seem to lose their values and contain
nothing but empty strings. I have tested the same code from an .aspx
page and it works, however, when attemting the same thing in a user
control, I get these errors. Any clues?
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Philip Townsend Guest
-
Losing checkbox values when saving PDF
Hi, I have been looking at this problem for 2 days now, changing numerous properties and trying different coding approaches and nothing works. ... -
Losing Postback state with composite controls
Not sure how to go about explaining this, which is never a good sign. I have a Custom UserControl I've built, which contains 1 drop-down list and... -
Losing Assigned Global Variable Values
I am running Director 7. I declare and initialize my global variables in the prepareMovie handler. As my movie (an interactive game) runs, I... -
sending values in textbox
Hi I want to be able to send the vlaues that a user enters in a couple of input fields. However, my register_globals is set to off. So how do I... -
how to Add different controls(textBox,DropDownList or some ) in the same column,based upon the value in the previous column (Say second Colum which contain dropdown with some values) ?
I am new to ASP.NET. I am facing problem with datagrid. I will explain prob now. In the datagrid the first column is name in the second... -
daphish@msn.com #2
Re: TextBox Controls losing their values
If you set EnableViewstate to true this should save all the setting of
the textbox when you report to the server.
--dwayne
On Fri, 27 Jun 2003 10:59:07 -0700, Philip Townsend
<anonymous@devdex.com> wrote:
>I have a user control that contains a form with several text boxes. The
>text boxes get populated from a SQL Server table when the control loads.
>When the controls posts back, any values that have changed get passed to
>a stored procedure to update the table. The problem is that when the
>form is submitted, the text boxes seem to lose their values and contain
>nothing but empty strings. I have tested the same code from an .aspx
>page and it works, however, when attemting the same thing in a user
>control, I get these errors. Any clues?
>
>
>
>*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
>Don't just participate in USENET...get rewarded for it!daphish@msn.com Guest



Reply With Quote

