jQuery MiniUI

标题: mini-combobox [打印本页]

作者: 基本问题    时间: 2016-12-21 14:45:24     标题: mini-combobox

我的代码 :<input id="num" class="mini-combobox" style="width: 100px;" textfield="Number" valuefield="Number"                           url="../OperationEvaluation/ApplyAssessmentReport.ashx?method=GetAllNumber"  onvalidation="onCombo"
                           allowinput="false"  />
效果图:[attach]8596[/attach]
开始是好用的 但一段时间我再用它就是这样啦? 请问这是怎么回事?怎么解决?


作者: dforce    时间: 2016-12-21 15:04:37

请提供一个能简单重现你这给问题的html页面
作者: 基本问题    时间: 2016-12-21 15:05:46

dforce 发表于 2016-12-21 15:04
请提供一个能简单重现你这给问题的html页面

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>提交申请材料</title>
    <script src="../Scripts/boot.js" type="text/javascript"></script>
    <script src="../Scripts/Utility.js" type="text/javascript"></script>
    <link href="../CSS/OperPlan.css" rel="stylesheet" type="text/css" />
</head>
<body style="height: 100%; width: 1000px; margin: 0 auto; position: relative;">
<%--位置标题--%>
        <table>
            <tr>
                <td>
                    <label>
                        所在位置&nbsp:&nbsp</label>
                </td>
                <td>
                   <a class ="position" id ="a2" href="javascript:void()" hidefocus="hidefocus"; >运行评估</a>
                </td>
                <td>
                    &nbsp<img style="width: 10px;height:12px;" src="../Images/u728.png" />&nbsp
                </td>
                <td>
                  <a class ="position" id ="a3" href="../OperationEvaluation/ApplyAssessmentReport.aspx" hidefocus="hidefocus"; >提交申请材料</a>
                  </td>
            </tr>
        </table>
        <%--分割虚线--%>
           <fieldset style="border:solid 1px #aaa;height:95%;">
       <div style="width: 90%; height:98%; margin: 0 auto ;">
       <h2 style="text-align: center; color: #124674; margin-top: 15px">
                提交申请材料
            </h2>
            <div style="border-top: 1px dashed #D6661A;  margin: 10px 0px 20px 0px;">
        </div>
           <%--第一部分--%>
           <table>
               <tr>
                   <td>
                       &nbsp;&nbsp;&nbsp;<span>评估计划编号&nbsp;:&nbsp;</span>
                       <input id="num" class="mini-combobox" style="width: 100px;" textfield="Number" valuefield="Number"
                           url="../OperationEvaluation/ApplyAssessmentReport.ashx?method=GetAllNumber"  onvalidation="onCombo"
                           allowinput="false"  />&nbsp;&nbsp;&nbsp;&nbsp;
                       <a class="mini-button" onclick="show()" iconcls="icon-upload">导入</a>
                   </td>
               </tr>
           </table>
           <div style="border-top: 1px dashed #D6661A;  margin: 20px 0px 20px 0px;">
        </div>
           <%--第二部分--%>
           <div id="grid" class="mini-datagrid" style="width: 100%; height: 500px; margin: 30px 0px 45px 0px;"
               allowcelledit="true" allowcellselect="true" multiselect="true" editnextonenterkey="true"
               editnextrowcell="true" allowcelledit="true" url="../OperationEvaluation/ApplyAssessmentReport.ashx?method=GetOperationPlanDetilaDetail">
               <div property="columns">
                   <div type="indexcolumn" width="80" headeralign="center" headerstyle="background: #CDEAFA;font-weight: bold;color:#2971B6;height:35px;">
                       序号</div>
                   <div field="EvaluationNumber" width="100" headeralign="center" headerstyle="background: #CDEAFA;font-weight: bold;color:#2971B6;height:35px;"  align="center">
                       评估编号
                   </div>
                   <div field="FileName" width="120" headeralign="center" headerstyle="background: #CDEAFA;font-weight: bold;color:#2971B6;height:35px;"  align="center">
                       world报告
                   </div>
                   <div field="FileName1" width="120" headeralign="center" headerstyle="background: #CDEAFA;font-weight: bold;color:#2971B6;height:35px;"  align="center">
                       PPT报告
                   </div>
                   <div name="State" field="State" width="90" headeralign="center" headerstyle="background: #CDEAFA;font-weight: bold;color:#2971B6;height:35px;"
                       renderer="onSate"  align="center">
                       审核结果
                   </div>
                   <div name="AuditOpinion" field="AuditOpinion" width="90" headeralign="center" headerstyle="background: #CDEAFA;font-weight: bold;color:#2971B6;height:35px;" align="center">
                       审核意见
                   </div>
               </div>
           </div>
       </div>
       </fieldset>
</body>
</html>
作者: dforce    时间: 2016-12-21 16:17:05

基本问题 发表于 2016-12-21 15:05
提交申请材料
   
   

你这body为何设置relative?,影响了内部元素的位置
作者: 基本问题    时间: 2016-12-21 16:54:23

dforce 发表于 2016-12-21 16:17
你这body为何设置relative?,影响了内部元素的位置

哦哦 这样啊 好的 谢谢啦




欢迎光临 jQuery MiniUI (http://miniui.com/discuss/) Powered by Discuz! X2