How to set Position of alert messege in asp.net -
page.clientscript.registerstartupscript(this.gettype(), "alert", "javascript:alert('my message')", true);
above code shows message box on top of page , want center of page.
alert boxes default open @ center. @ @tomzan's comment, getting @ top chrome.
as far know it's not possible make modifications that. if want custom alert box using jquery ui. it'll allow put messagebox wherever want.
Comments
Post a Comment