20250916 特殊人工日disabled
This commit is contained in:
@@ -46,9 +46,22 @@
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:CheckBoxList ID="checkPhase" Label="Phase" runat="server" LabelWidth="120px">
|
||||
<Items>
|
||||
<f:CheckItem Text="Study/Concept Planning" Value="Study/Concept Planning" Selected="true" />
|
||||
<f:CheckItem Text="Execution" Value="Execution" />
|
||||
</Items>
|
||||
<Listeners>
|
||||
<f:Listener Event="change" Handler="onCheckBoxListChange" />
|
||||
</Listeners>
|
||||
</f:CheckBoxList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow ColumnWidths="20% 80%">
|
||||
<Items>
|
||||
<f:Label ID="Label1" runat="server"></f:Label>
|
||||
<f:CheckBox ID="cbNotApplicable1" runat="server" AutoPostBack="true" Text="Account Disabled?"></f:CheckBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
@@ -67,5 +80,15 @@
|
||||
</Toolbars>
|
||||
</f:Form>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
// 同时只能选中一项
|
||||
function onCheckBoxListChange(event, checkbox, isChecked) {
|
||||
var me = this;
|
||||
if (isChecked) {
|
||||
me.setValue(checkbox.getInputValue());
|
||||
}
|
||||
__doPostBack('', 'CheckBoxList1Change');
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user