Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
function GetDate(CtrlName, SampleDate){
ChildWindow = window.open('qwwCalendar.aspx?FormName=' + document.forms[0].name + '&CtrlName=' + CtrlName + '&SampleDate=' + SampleDate, "PopUpCalendar", "width=270,height=300,top=200,left=200,toolbars=no,scrollbars=no,status=no,resizable=no");
}
<%@ Page Language="VB"%>
<%@Import Namespace = "Microsoft.VisualBasic"%>
<%@Import Namespace = "System"%>
<%@Import Namespace = "System.Web"%>
<%@Import Namespace = "System.Web.UI"%>
<%@Import Namespace = "System.Web.UI.WebControls"%>
<%@Import Namespace = "System.Web.UI.HtmlControls"%>
<script runat="server">
Sub Page_Load(Sender As Object, e As EventArgs)
If Not IsPostBack Then
txtY1Max.Text = Request.QueryString("Y1Max")
txtY1Min.Text = Request.QueryString("Y1Min")
txtY1Int.Text = Request.QueryString("Y1Int")
End If
End Sub
</script>
<html>
<head>
<title>Adjust Y1 axis</title>
</head>
<body bgcolor="#FFFF99">
<script language="Javascript">
function ReturnY1(Y1Max, Y1Min, Y1Int){
var Y1Max;
var Y1Min;
var Y1Int;
window.opener.document.forms["frmChemHist"].elements["txtY1Max"].value = Y1Max;
window.opener.document.forms["frmChemHist"].elements["txtY1Min"].value = Y1Min;
window.opener.document.forms["frmChemHist"].elements["txtY1Int"].value = Y1Int;
window.opener.document.forms["frmChemHist"].elements["AdjustY1"].value = 1;
window.opener.document.forms["frmChemHist"].submit();
window.close();
}
</script>
<Form id="frmY1" runat="server">
<b><Font color="navy">Adjust Y1 Max: </b><asp:TextBox id="txtY1Max" runat="server" width="50px"/></Font><br>
<b><Font color="navy">Adjust Y1 Min: </b><asp:TextBox id="txtY1Min" runat="server" width="50px"/></Font><br>
<b><Font color="navy">Adjust Y1 Int:</b> <asp:TextBox id="txtY1Int" runat="server" width="50px"/></Font>
<p align="center"><INPUT TYPE="button" VALUE="Accept" onClick="javascript:ReturnY1(document.frmY1.txtY1Max.value, document.frmY1.txtY1Min.value, document.frmY1.txtY1Int.value)" style="font-size: 14px; width: 90px; font-weight: bold; color: #0000FF;"></p>
</Form>
</body>
</html>