Last post Sep 02, 2016 07:18 PM by avt2k7
Sep 02, 2016 06:49 PM|avt2k7|LINK
My ASP.NET designed many sections to allow the user input the values. One of section with dropdownlist to allow the user select an dropdown item then display prize for it. at refresh the entire page, so previous values entries were missing during post back.
My question is why ASP.NET AJAX not working for update panel only?
Here is my code
<%-- STUDENT FILE --%>
<asp:DropDownList runat="server" ID="ddlName" CssClass="selectpicker" data-style="btn-default"
OnSelectedIndexChanged="ddlMake_SelectedIndexChanged" AutoPostBack="true" AppendDataBoundItems="true">
<asp:UpdatePanel runat="server" ID="UpdatePanel7">
<asp:Label runat="server" ID="lblConductGrade" CssClass="smallerText"></asp:Label>
<asp:AsyncPostBackTrigger ControlID="ddlName" EventName="SelectedIndexChanged" />
I tried to us UpdatePanel but the page refresh entirely? Any idea how to solve above issue?
Thanks in advance.
Sep 02, 2016 06:56 PM|A2H|LINK
One of section with dropdownlist to allow the user select an dropdown item then display prize for it. at refresh the entire page
Try wrapping the dropdownlist controls also inside the updatepanel
Sep 02, 2016 07:18 PM|avt2k7|LINK
I tried your above suggestion before it was not working at all. The issue happened when DDL post back, then the page is refresh, so other sections, I added all UpdatePage, then it resolved my issues on missing value entries.