English 中文(简体)
能否将Maxdate设定到Ext.Net的日历控制?
原标题:is it possible to set Maxdate to Calendar control in Ext.Net?

I am working with Ext.Net 1.2

www.un.org/spanish/ecosoc 我正在使用日历控制。 我希望,从今天起,只有日历上的所有日期都能够分开。

如同Picker一样,其功能如MaxDate=”<%# Time。 现在 %>“

问题回答

或许需要打电话<代码>.Data Bind( on the Control, or only set AutoDataBind=“true”

<><>Example>

<ext:DatePicker runat="server" MaxDate="<%# DateTime.Now %>" AutoDataBind="true" />

希望这一帮助。





相关问题
Java Checking number months

I think I figure out what question I am trying to ask I dont want get(Calendar.MONTH) I want the month not to be greater than the last caldendar month that is why i am doing month -1, i realize that ...

How to show custom events to a Kronolith calendar

I want to show events from an external source in the Kronolith calendar views. I don t want to do this by exporting the events to iCal and then showing them as an external calendar. The events are ...

How to reset a field when changing a date ui.datepicker.js

I m using ui.datepicker.js I have a form and when the date is changed I want that another field reset the status (this field is a dropdown select box). The case is the following: The user enter the ...

Calendar returns wrong month [duplicate]

Calendar rightNow = Calendar.getInstance(); String month = String.valueOf(rightNow.get(Calendar.MONTH)); After the execution of the above snippet, month gets a value of 10 instead of 11. How come?

How to determine if date/time is EDT or EST in Java?

I have a PDF that users must complete. The PDF has date and time fields on it. The PDF instructs the users to input the date and time in Eastern format (Not EST or EDT). When the user completes the ...

热门标签