Surely will be marked as duplicate one but after tons of question and example i couldn\'t solve my problem. What i want? Calling server side event
it can work!!
if you call __doPostBack('btninsert', ''), add below to Page_Load
protected void Page_Load(object sender, EventArgs e) { if ( Request["__EVENTTARGET"] == "btninsert" ) { btninsert_Click(sender, e); } }