XML if (GetControlValue
4004 단어 uyumsoft
<root MainCode="" Caption="Kredi ve Ödeme Listesi">
<script ScriptCode="
AddLoadList('FirstLoad()');
FirstLoad=function()
{
GetControl('pDocDateL').SetVisible(false);
}
"></script>
<tabcontrol Visibility="True">
<tabpage Caption="Kriterler">
<section Caption="" CaptionVisibility="False" Visibility="True" ColumnCount="6">
<row>
<cell colspan="2">
<control FieldName="CoCode" ControlType="ButtonEdit" Caption="Firma" DefaultValue="Session(CoCode)" ControlRequired="True">
<DataSource SourceType="Command" Source="CompanyCollection.Show" Filter="" FilterValues="" OrderByProperty="" ReturnProperties="CoCode" ReturnedProperties="CoCode" RelatedProperty="" ProcessTypeMode="1" ListPropertyName="CoCode"></DataSource>
</control>
</cell>
</row>
<row>
<cell colspan="1">
<control FieldName = "Yerlesim"
ControlType = "ComboEdit"
ControlEnabled="True"
DefaultValue="Ödenecek"
MaxLength = "50"
ControlRequired = "True"
Caption = "Liste Tipi"
ControlVisible="True">
<DataSource SourceType="TextAndValue" Text="Ödenecek;Ödenen;Reel Kur" Value="Ödenecek;Ödenen;Reel Kur"></DataSource>
<ClientSideEvents ValueChanged="function(s,e)
{
if (GetControlValue('Yerlesim') == 'Ödenen')
{
GetControl('pDocDateL').SetVisible(true);
}
else if (GetControlValue('Yerlesim') == 'Reel Kur')
{
GetControl('pDocDateL').SetVisible(true);
}
else
{
GetControl('pDocDateL').SetVisible(false);
}
}">
</ClientSideEvents>
</control>
</cell>
</row>
<row>
<cell colspan="2">
<control FieldName="pDocDateF" ControlType="DateEdit" ControlRequired="True" Caption="Tarih" ControlEnabled="true" DefaultValue=""></control>
</cell>
<cell colspan="1">
<control FieldName="pDocDateL" ControlType="DateEdit" CaptionVisible="False" DefaultValue="">
</control>
</cell>
</row>
</section>
</tabpage>
</tabcontrol>
</root>
Reference
이 문제에 관하여(XML if (GetControlValue), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://dev.to/fsatihin/xml-if-getcontrolvalue-34ld텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)