Reputation: 1068
I am trying to convert the date format to text but as it said it doesn't have that Text extension. How do I solve this part? Below are my codes
if (NavigationContext.QueryString.ContainsKey("Date"))
{
dateData.Text = NavigationContext.QueryString["Date"].ToString();
}
Upvotes: 0
Views: 88
Reputation: 3331
if dateData is a datepicker control then DatePicker Has a 'Value' property you can not assign a 'Text' property to it.
Ty setting it like this:
dateData.Value=your value;
Upvotes: 1