Is it possible to set a property of the code behind using javascript?
I have the following:
private string dateFormat;
public string DateFormat
{
get
{
return dateFormat;
}
set
{
dateFormat = value;
}
}
and want to set it like this: '<%=DateFormat%>' = "dd-mm-YYYY"
But when I run this and add a debbugger it comes out like this: '' = "dd-mm-YYYY".