Hi everyone.
I am currently working on a ASP/
VB.NET app and I am having an issue with ASP.NET forms and the submission of them. I am currently using a TextControl in an ASPX page and when I try and populate this field with a value, the value appears HOWEVER if a user changes this value in the Text input type and re-submits the form the OLDER default value is sent to the SERVER. In standard HTML/ASP setting a value property of an text input box still did not prevent users from over-riding it on submission of a form.
Example Code:
''''TextControl in my ASPX page
<asp:TextBox ID="txtName" Runat="server" width="200px" />
''''From within an ASPX.
VB page I set the control's Text attribute
txtName.Text = "John"
When the ASPX page loads the default value is pre-loaded as "John". Exactly what I want HOWEVER the issue I am having is when someone changes this value and re-submits the FORM the value is not getting passed in its changed form. Every submission passes a txtName.Text value of "John"!
Any help or ideas would be greatly appreciated.
Regards,
J