Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

using jquery to call onchange function causing full page postback when using masterpage

$
0
0
$('#bn1').click(function () {
$('#textbox1').change();
})<asp:UpdatePanel runat="server" ID="up123" UpdateMode="Conditional"><ContentTemplate><div style="margin-top: 250px;"><asp:TextBox runat="server" ID="textbox1" ClientIDMode="Static" AutoPostBack="true" CssClass="DateTimePicker" /><asp:Button runat="server" ID="bn1" ClientIDMode="Static" Text="clickme" /></div></ContentTemplate></asp:UpdatePanel>



when using the above function with masterpage in my content page, it cause full page postback instead partial postback
if i use this without masterpage, it's perfectly fine, any ideas?


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>