twilitegxa Posted September 17, 2009 Share Posted September 17, 2009 I need to add a Page_Load event handler that sets the contents of the Name text box to "name" if you are not posting back to the page. I have this: [ protected void Page_Load(object sender, EventArgs e) { name.Text = "Name"; } But it is still showing when posting back to the page after validation. Can anyone help? Quote Link to comment https://forums.phpfreaks.com/topic/174632-aspnet-framework-page_load-question/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.