HI ,

Just try this out in your .aspx page at the last befor form tag is closed -

declare one public string variable in .cs page. Set some msg in .cs page
whenever you need. and write some peice of code in .aspx page like this -


<script language="javascript" type="text/javascript>
<%if(msg!="")
{ %>
    alert(<%=msg%>);
<%}%>

</script>

Hope this will work.

Please let me know if resolved.


Thanks
Sumit
>
>

Reply via email to