-1
I have a textbox where, through another page I pass you an e-mail.
txtemail.text = "[email protected]"
And when my page makes the load, in that textbox appears: [email protected].
Only if I try to make a new one input in that textbox he does not keep, always staying with the [email protected].
I have the AutoPostBack="true", I’ve tried too OnTextChanged but I couldn’t.
I needed something like that.
txtemail.text = txtemail.text.newInput()
This is my textbox
<div class="form-group">
<asp:Label ID="LEmailP" runat="server" Text="Para :" Font-Size="Medium" Font-Bold="true"></asp:Label>
<asp:TextBox CssClass="labelEmail" ID="txtEmailP" required="true" MaxLength="50" runat="server" type="text" TabIndex="2" AutoPostBack="true" pattern="[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$" title="ex: [email protected]" placeholder="Titular Email"></asp:TextBox>
</div>
I pass my email per page here ( put on page load )
string email = Request.QueryString["email"];
txtEmailP.Text = email;
Post all relevant part of the code
– Leandro Angelo
@Leandroangelo if I try to change the value of mine
txtEmailPon the page where I am, how I have theAutoPostBack="true"she automatically switch me to the email I passed by linkRequest.QueryString["email"]– Pedro Cardoso