G
Groove
I've noticed something that's come up twice today alone. In ASP.NET 1, I
could reference and use a control's property if the control was set to
readonly or if it was set to visible = false. Such a asp:TextBox or a
asp:HiddenField. I've noticed that I can no
longer do this in .NET2 (VB). I can't find this documented but can someone
confirm this? If so....why the change??
For example, I'm setting a "date" textbox on a page that is set to
readonly=true. The text of this textbox is set by a calendar control. In
ASP.NET1, I could reference the Text property in a sub even if it was
readonly. In ASP.NET2, I cannot. I'm having to set the readonly to
false....which defeats the pupose the use of the calendar control.
Need a sample?
could reference and use a control's property if the control was set to
readonly or if it was set to visible = false. Such a asp:TextBox or a
asp:HiddenField. I've noticed that I can no
longer do this in .NET2 (VB). I can't find this documented but can someone
confirm this? If so....why the change??
For example, I'm setting a "date" textbox on a page that is set to
readonly=true. The text of this textbox is set by a calendar control. In
ASP.NET1, I could reference the Text property in a sub even if it was
readonly. In ASP.NET2, I cannot. I'm having to set the readonly to
false....which defeats the pupose the use of the calendar control.
Need a sample?