sannisinas
Nieuwe gebruiker
- Lid geworden
- 14 feb 2011
- Berichten
- 3
Hallo allemaal, ik probeer al 2 dagen iets simpels voor elkaar te krijgen maar mijn java skills zijn nog niet al te best. Ik heb dus 2 dropdowns en een label
Als bij deze dropdown de value ETS Rep Discount is dan zou hij de volgende dropdown en label moeten laten zijn
alvast bedankt
Als bij deze dropdown de value ETS Rep Discount is dan zou hij de volgende dropdown en label moeten laten zijn
Code:
<div class="row">
<div class="fieldName">Discount Type</div>
<div class="fieldValue">
<asp:DropDownList ID="discountTypeDropDownList" runat="server" AutoPostBack="True"
Width="295px" OnSelectedIndexChanged="DiscountTypeDropDownList_SelectedIndexChanged">
<asp:ListItem Value="<%$ AppSettings:DiscountType.General %>">General Discount</asp:ListItem>
<asp:ListItem Value="<%$ AppSettings:DiscountType.Golf %>">Golf Only Rep Discount</asp:ListItem>
<asp:ListItem Value="<%$ AppSettings:DiscountType.ETS %>">ETS Rep Discount</asp:ListItem>
</asp:DropDownList>
</div>
</div>
Code:
<div class="row">
<div class="fieldName">Category</div>
<div class="fieldValue">
<asp:UpdatePanel ID="UpdatePanelCategory" runat="server">
<ContentTemplate>
<asp:DropDownList ID="CategoryDropDown" runat="server" Width="295px">
</asp:DropDownList>
<asp:Label ID="CategoryRequiredLabel" runat="server" Font-Bold="True" ForeColor="Red"
Visible="False">required!</asp:Label>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="discountTypeDropDownList" />
</Triggers>
</asp:UpdatePanel>
</div>
</div>
alvast bedankt
