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

FormView.DataBind with Jquery

$
0
0

I have a called FormView frmcontrato, I want that after click of btnstatus saw jquery it makes the update of the ones of the data of the FormView with the DataBind. What I am ordering in $.post is for making a Update in the data base.

$('#btnstatus').click(function () {
  event.preventDefault();
  $.post('xcrud.aspx?acao=mudastatus&t=contratos&s=<%# Eval("status")%>&codigo=<%# Eval("codigo")%>');<%frmContrato.DataBind()%>;
}); //Click

I tried to use

<%frmContrato.DataBind()%>;

 thus but it did not function.


Viewing all articles
Browse latest Browse all 5678

Trending Articles



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