Readonly property in calendar extender text box in asp.net.
while we use readonly true in asp textbox the value can not be assign or save in my data base. For this issue just put the textbox in the page load and
assign by this way so that the issue is fixed.
protected void Page_Load(object sender, EventArgs e)
{
txtOrderDate.Attributes.Add("readonly", "readonly");
if (!IsPostBack)
{
}
}
No comments:
Post a Comment