Geeks With Blogs
Nouman Zakir while (true) { Post.NewArticle(); }

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("readonly", "readonly");
   4:  }

Follow my blog with Bloglovin Posted on Tuesday, February 26, 2013 1:15 PM Programming , .Net , ASP.NET | Back to top


Comments on this post: ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET

# re: ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
Requesting Gravatar...
Sir i have made it read only but still onclicking the textbox the calender is not opening in popup in that text box
Left by Rahul Tiwari on Mar 06, 2013 11:59 PM

# re: ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
Requesting Gravatar...
are you sure you have set the PopupButtonID property of your CalendarExtender control?
Left by Nouman on Mar 07, 2013 12:15 AM

# re: ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
Requesting Gravatar...
Thank you sir for this valuable post. I was stuck with this issues for hours till I get saw your post. This post was really helpful. I just don't have words to thanks you sir. Hope to see some more interesting posts from you in future.

Regards,
Farhan Hanif
Left by Farhan Hanif on Mar 20, 2013 5:38 PM

# re: ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
Requesting Gravatar...
Thank you sir for this valuable post. I was stuck with this issues for hours till I get saw your post. This post was really helpful. I just don't have words to thanks you sir. Hope to see some more interesting posts from you in future.

Regards,
Farhan Hanif
Left by Farhan Hanif on Mar 20, 2013 5:38 PM

# re: ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
Requesting Gravatar...
Excellent its working but remove the read only= true for aspx/markup page
Left by Habib on Apr 15, 2014 9:50 PM

# re: ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
Requesting Gravatar...
Excellent its working but remove the read only= true for aspx/markup page
Left by Habib on Apr 15, 2014 9:50 PM

# re: ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
Requesting Gravatar...
inCalendar Extender as I get the previous day's date by default?
Left by alz on Aug 24, 2014 10:11 AM

# re: ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
Requesting Gravatar...
Thank you very much for your valuable information. I have tried to learn these things but I didn’t get a better source. Now I think this is the better place to clear out my all doubts regarding the same. Keep sharing!

clip on man buns
Left by Kevin on Dec 28, 2015 9:27 AM

# re: ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
Requesting Gravatar...
Thank you very much for your valuable information. I have tried to learn these things but I didn’t get a better source. Now I think this is the better place to clear out my all doubts regarding the same. Keep sharing! Make sure you visit it for sure
snapchat online
snapchat apk
Left by James on Feb 29, 2016 2:00 PM

# re: ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
Requesting Gravatar...
Thank you sir for this valuable post. I was stuck with this issues for hours till I get saw your post. This post was really helpful. I just don't have words to thanks you sir. Hope to see some more interesting posts from you in future. I just loved it visiting here

tinder online
tinder apk
Left by James on Feb 29, 2016 2:00 PM

# re: ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
Requesting Gravatar...
I am a newbie to this subject about AJAX calendar and things and I don’t know much about this.directv family package This article really helped me to know new thing and learn the same almost perfectly. Keep sharing such awesome articles and thanks for providing this article in this site.
Left by Merlin John on Jun 30, 2016 6:48 PM

# re: ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
Requesting Gravatar...
Left by JAMES on Feb 05, 2017 5:27 PM

# re: ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
Requesting Gravatar...
One of such intervention is the creation of Binary Option Robot auto trading robots. This development has indeed contributed hugely to the present growth and success of the industry as it has made it possible for everyone, including people with no basic knowledge on binary option or stock to participate and make a living on it. We can’t however talk about Binary Option Robot without mentioning Binary Robot 365
Left by imo on Jul 30, 2017 4:14 PM

# re: ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
Requesting Gravatar...
Thanks for the information.

Tinder Online PC
Search Tinder Profile
Left by Radha Krishna on Jul 30, 2017 6:58 PM

Your comment:
 (will show your gravatar)


Copyright © Nouman Zakir | Powered by: GeeksWithBlogs.net