Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Update Panel Always Post Back whole Page

$
0
0
Problem,, i am not getting partial page post page,, instead i get full page reload and then i get the next 4 rows inside table on button click. any idea why i am not getting Ajax functionality.<div><asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager><asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ><ContentTemplate><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><th width="35%">Last Degree</th><th width="35%">Institute</th><th width="20%">Year</th><th width="30%">Majors</th></tr><tr id="rowFields"><td><asp:TextBox runat="server" ID="txtDegree" type="text" onblur="if(this.value=='' || this.value==null) this.value=''"
                onfocus="if(this.value==''){this.value='';}" placeholder="Last Degree*" size="35" /></td><td><asp:TextBox runat="server" ID="txtInstitue" type="text" onblur="if(this.value=='' || this.value==null) this.value=''"
                onfocus="if(this.value==''){this.value='';}" placeholder="Institute*" size="35" /></td><td><asp:TextBox runat="server" ID="txtYear"  onblur="if(this.value=='' || this.value==null) this.value=''"
                onfocus="if(this.value==''){this.value='';}" Placeholder="Year*" size="12" /></td><td><asp:TextBox runat="server" ID="txtSubjects"  onblur="if(this.value=='' || this.value==null) this.value=''"
                onfocus="if(this.value==''){this.value='';}" placeholder="Subjects*" size="35" /></td></tr><tr><td><asp:PlaceHolder ID="PlaceHolderEdu" runat="server"></asp:PlaceHolder></td><td><asp:PlaceHolder ID="PlaceHolderEdu2" runat="server"></asp:PlaceHolder></td><td><asp:PlaceHolder ID="PlaceHolderEdu3" runat="server"></asp:PlaceHolder></td><td><asp:PlaceHolder ID="PlaceholderEdu4" runat="server"></asp:PlaceHolder></td></tr></table></ContentTemplate><Triggers><asp:AsyncPostBackTrigger ControlID="addmoreEdu" EventName="Click" /></Triggers></asp:UpdatePanel><asp:LinkButton ID="addmoreEdu" runat="server" CssClass="linkbutton"
                  onclick="addmoreEdu_Click" CausesValidation="False">Add More</asp:LinkButton></div>


Viewing all articles
Browse latest Browse all 5678

Trending Articles