Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Greetings
Upon clicking a button I open a new modal from js, and given the following code:
StringBuilder sb = new StringBuilder();sb.AppendLine(@"<script type=""text/javascript"">");sb.AppendLine("top.openModal('plugins/testMail.aspx?id=" + 1 + "', 'Send delayed mail', 200,500);");sb.AppendLine("</script>"); Page.ClientScript.RegisterStartupScript(this.GetType(), "viewReport", sb.ToString());
it loads smoothly as shown on picture in link
However if I change the heigth of the modal to 400, which logically shouldn't do much more than double the heigth of the modal window.
This is done with the following code:
StringBuilder sb = new StringBuilder(); sb.AppendLine(@"<script type=""text/javascript"">"); sb.AppendLine("top.openModal('plugins/testMail.aspx?id=" + 1 + "', 'Senddelayed mail ', 400,500);"); sb.AppendLine("</script>"); Page.ClientScript.RegisterStartupScript(this.GetType(), "viewReport", sb.ToString());
This however results in this. Here the content "exceeds" the heigth and width of the modal window.
Is there anything I need to dissable/enable to fix this little annoying problem?
Thx in advance
Christoffer Andersen
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
possible umbraco popup bug
Greetings
Upon clicking a button I open a new modal from js, and given the following code:
StringBuilder sb = new StringBuilder();
sb.AppendLine(@"<script type=""text/javascript"">");
sb.AppendLine("top.openModal('plugins/testMail.aspx?id=" + 1 + "', 'Send delayed mail', 200,500);");
sb.AppendLine("</script>");
Page.ClientScript.RegisterStartupScript(this.GetType(), "viewReport", sb.ToString());
it loads smoothly as shown on picture in link
However if I change the heigth of the modal to 400, which logically shouldn't do much more than double the heigth of the modal window.
This is done with the following code:
StringBuilder sb = new StringBuilder();
sb.AppendLine(@"<script type=""text/javascript"">");
sb.AppendLine("top.openModal('plugins/testMail.aspx?id=" + 1 + "', 'Senddelayed mail ', 400,500);");
sb.AppendLine("</script>");
Page.ClientScript.RegisterStartupScript(this.GetType(), "viewReport", sb.ToString());
This however results in this. Here the content "exceeds" the heigth and width of the modal window.
Is there anything I need to dissable/enable to fix this little annoying problem?
Thx in advance
Christoffer Andersen
is working on a reply...