注册 登录
编程论坛 ASP.NET技术论坛

my97的位置问题

等待冰柠檬 发布于 2010-03-24 09:16, 1199 次点击
只有本站会员才能查看附件,请 登录

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserManager.aspx.cs" Inherits="WzJyw.manager.UserManager" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.

<html xmlns="http://www. >
<head runat="server">
    <title>无标题页</title>
    <link rel="stylesheet" type="text/css" href="skin/css/base.css">   
    <style type="text/css">
        .style1
        {
            width: 50%;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <script language="jscript" src="My97DatePicker/WdatePicker.js"></script>
    <table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D1DDAA" align="center" style="margin-top:8px">
<tr bgcolor="#E7E7E7">
    <td height="24" colspan="2" background="skin/images/tbg.gif"  
        style="text-align:center">&nbsp;会员信息&nbsp;</td>
</tr>
<tr align="center" bgcolor="#FAFAF1" height="22">
    <td class="style1">用户名</td>
    <td width="50%">
        <asp:TextBox ID="txtYongHu" runat="server" MaxLength="13"></asp:TextBox>
                </td>
</tr>
<tr align="center" bgcolor="#FAFAF1" height="22">
    <td class="style1">密码</td>
    <td width="50%">
        <asp:TextBox ID="txtMiMa" runat="server" TextMode="Password" MaxLength="16"></asp:TextBox>
                </td>
</tr>
<tr align="center" bgcolor="#FAFAF1" height="22">
    <td class="style1">密码提示</td>
    <td width="50%">
        <asp:TextBox ID="txtMiMaTiShi" runat="server" MaxLength="20"></asp:TextBox>
                </td>
</tr>
<tr align="center" bgcolor="#FAFAF1" height="22">
    <td class="style1">密码答案</td>
    <td width="50%">
        <asp:TextBox ID="txtMiMaDaAn" runat="server" MaxLength="20"></asp:TextBox>
                </td>
</tr>
<tr align="center" bgcolor="#FAFAF1" height="22">
    <td class="style1">类型</td>
    <td width="50%">
        <asp:DropDownList ID="drplstType" runat="server">
        </asp:DropDownList>
                </td>
</tr>
<tr align="center" bgcolor="#FAFAF1" height="22">
    <td class="style1">注册时间</td>
    <td width="50%">
        <asp:TextBox ID="txtZhuCeShiJian" runat="server" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})"></asp:TextBox>
                </td>
</tr>
<tr align="center" bgcolor="#FAFAF1" height="22">
    <td width="50%" colspan="2">
        <asp:Button ID="btnQueDing" runat="server" onclick="btnQueDing_Click"
            Text="新增用户信息" />
    </td>
</tr>
    </table>
   
    </form>
   
</body>
</html>
4 回复
#2
aspic2010-03-24 09:37
这个主要的获取坐标不正确 这个日期控件没用过
#3
等待冰柠檬2010-03-24 09:43
这个控件没有定义位置的
#4
aspic2010-03-24 09:46
自定义弹出位置
当控件处在页面边界时,它会自动选择显示的位置.此外你还可以使用position参数对弹出位置做调整.
官方说明
#5
YSKING2010-03-24 12:01
具体的对照官方的例子成功实现后,再修改自己的例子吧
1