Hi, Im using Web 2, I just want to ask how to set value to WebDatePicker?
I think this is the problem:
says its fixed, but not here
To show an initial value you can enter that here:
If that is not the problem, can you explain what you want to do?
how to set “initial value” thru code?
I just want to set webdate pickter to get the latest date today.
This is one way, in the example I used it in a button, but you can use it in any event.
Var Get_Fecha As DateTime = DateTime.Now(New TimeZone("America/Mexico_City")) DatePicker1.Value = Get_Fecha
TimeZone has helped me a lot, to control the time of where the application is being used in reality.