skip to Main Content

How to make a Label Visible when user selects an Item in a DropDownList Asp.net

I'm using APS.net and c# I have a RadioButtonList, DropDownList, Button and label in a ModalPopupExtender. <ajaxToolkit:ModalPopupExtender ID="mpeDirector_Accept_or_Reject_Overtime" runat="server" PopupControlID="pModal_Popup_Director_Accept_or_Reject_Overtime" TargetControlID="btnModal_Popup_Dummy_TargetControlID" BackgroundCssClass="modalBackground" DropShadow="True"> </ajaxToolkit:ModalPopupExtender> <asp:Panel ID="pModal_Popup_Director_Accept_or_Reject_Overtime" runat="server" CssClass="modalPopup" BackColor="#FFFFCC" BorderColor="Black" BorderStyle="Solid" BorderWidth="2px" style="display:none;"> <asp:Label ID="lbModal_Popup_Director_Accept_or_Reject_Overtime_Message" runat="server" Font-Names="Arial" ForeColor="Red" Font-Bold="True">"Director Accept/Reject"…

VIEW QUESTION

Visual Studio Code – I want to write a cashier program using C# while, it should add the final total but it just keeps showing the price right underneath

I wanted it to look like this: And here's my result: This is my code private static void Main(string[] args) { Console.WriteLine("CASHIER"); Console.WriteLine("Enter Quantity of Products: "); int qty = Convert.ToInt32(Console.ReadLine()); if (qty > 5) { Console.WriteLine("Maximum of 5 products");…

VIEW QUESTION
Back To Top
Search