hi all ,
i am trying to create some controls on my pages.Everything was working fine until yesterday when avast antivirus detected some files of .net performance profiling as some trojan virus and quarantined those files.i later removed the avast antivirus as i use windows defender only.
Since yesterday now , i am facing issues like controls aren't being created properly.They exist on the mark up page but the code behind file doesn't reference them
.i am really frustated with it now.i tried re-installing my visual studio but it doesn't still work.
did avast do anything with it ? or i am guessing it wrong ?
i tried creating a list item in my mark up page for my menu it even this doesn't appear in the browser every other list item that were created before yesterday appear correctly.
here is my sample code for my dropdown lists i am trying to create.
<asp:UpdatePanel ID="UpdatePanel1" runat="server" ><ContentTemplate><tr><td class="auto-style3">Equipment Name</td><td><asp:DropDownList ID="equipment_name_DropDownList" runat="server" DataSourceID="SqlDataSource1" DataTextField="product_name" DataValueField="product_name" AutoPostBack="True" OnSelectedIndexChanged="equipment_name_changed" AppendDataBoundItems="True"><asp:ListItem Selected="True">Please Select</asp:ListItem></asp:DropDownList><asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:RegConnectionString %>" SelectCommand="SELECT DISTINCT [product_name] FROM [Products]"></asp:SqlDataSource></td></tr><tr><td class="auto-style3">Equipment Make</td><td><asp:DropDownList ID="equipment_make_DropDownList" runat="server" AutoPostBack="True" OnDataBound="equipment_make_DropDownList_DataBound" OnSelectedIndexChanged="equipment_make_changed"></asp:DropDownList></td></tr><tr><td class="auto-style3">Equipment Model </td><td><asp:DropDownList ID="equipment_model_DropDownList" runat="server" OnDataBound="equipment_model_DropDownList_DataBound"></asp:DropDownList></td></tr></ContentTemplate></asp:UpdatePanel>
protected global::System.Web.UI.WebControls.DropDownList DropDownList1; /// <summary> /// DropDownList2 control. /// </summary> /// <remarks> /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// </remarks> protected global::System.Web.UI.WebControls.DropDownList DropDownList2; /// <summary> /// DropDownList3 control. /// </summary> /// <remarks> /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// </remarks> protected global::System.Web.UI.WebControls.DropDownList DropDownList3; /// <summary> /// sale_id_tb control. /// </summary> /// <remarks> /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// </remarks>
What could be the problem.Please help me solve it.