How to update UpdatePanel with JavaScript

On the Asp.Net page containing UpdatePanels. How to update a specific UpdatePanel from the client side.

And is it possible to update it from the dialog opened from this page? (via window.open)

Thanks in advance.

+5
source share
2 answers

Update Update Panel Using JS

<script type="text/javascript"> 
function UpdPanelUpdate(value)
{
   var obj = document.getElementById("<%= txt.ClientID %>");
   obj.value=value;
   __doPostBack("<%= btn.ClientID %>","");
}
</script>
+4
source

All Articles