Geeks With Blogs
Nouman Zakir while (true) { Post.NewArticle(); } ASP.NET
ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
Read only controls are not posted back to the server. So, when you do a postback you will lose the value in a read only control. You will need to not make the control read only. Instead, you can set the ReadOnly=False on your textbox and use the following code to solve the problem. 1: protected void Page_Load(object sender, EventArgs e) 2: { 3: TextBox1.Attributes.Add("re... "readonly"); 4: } Follow my blog with Bloglovin ......

Posted On Tuesday, February 26, 2013 1:15 PM

Copyright © Nouman Zakir | Powered by: GeeksWithBlogs.net