Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个附加了 Ajax 日历扩展器的文本框。您单击文本框,日历会弹出,您选择一个日期并显示在文本框中。一切都很好,但日期以 mm/dd/yyyy 格式显示。这可以改变吗?
谢谢,琼斯
是的,您可以将日历扩展器上的“格式”属性设置为您想要的任何格式。只需在日历扩展器属性(或您想要的任何格式)上使用 Format="MM/dd/yyyy" 来设置它。
您通常在表单的 html 视图中执行此操作。