string Script = string.Format("parent.DisplayMessage(\"{0}\");", Text); this.ClientScript.RegisterClientScriptBlock(this.GetType(), "Mesage", Script, true);This particular page is actually loaded into IFrame from the other page where the DisplayMessage JavaScript function is defined.
</asp:MultiView> <script type="text/javascript"> function DisplayMessage(Message) { var dv = document.getElementById("spnStatFrame"); var Spn = document.getElementById("spnStat"); dv.style.display = "inline"; Spn.innerHTML = Message; setTimeout("dv.style.display = 'none'", 300000); } </script> </form> </body> </html>How should I adjust the above server side code to make it work?