I am using this code ..
ScriptManager.RegisterClientScriptBlock(control, GetType(Button), "sas", "<script> alert('Inserted successfully');</script>", True)
but html result is :
<script type="text/javascript">
//<![CDATA[
<script> alert('Inserted successfully');</script>
//]]>;
why ?
and do I need to call it only in Page_Load or can do that in button click event ??