asp.net - Fields erased in post -
i developing application in asp.net fields. have "name" field empty, request filled. when user clicks "record" button asp button, field cleared every time after validation. not want validate javascript. how cancel procedure , leave populated after validation without having repopulate field validated? i'm not using asp textbox. i'm using inputs type text.
make input box serverside <asp:textbox id="tbxname" runat="server" />
instead of regular html <input>
box. boxes cleared after postback because not server side , viewstate wont save properties when postback occurs.
Comments
Post a Comment