zoukankan      html  css  js  c++  java
  • 关于弹出窗口的设置

    <dx:ASPxPopupControl ID="ASPxPopupControl1" runat="server" CloseOnEscape="True"
                Modal="True" Theme="Office2003Blue"
                ShowOnPageLoad="False" ClientInstanceName="popup"
                PopupHorizontalAlign="Center"
                PopupVerticalAlign="Middle" Height="600px"
                Width="1000px" HeaderText="详情" ScrollBars="Both" AllowDragging="True" AllowResize="True" AutoUpdatePosition="True">
            <WindowContentTemplate>
            </WindowContentTemplate>
            <ContentCollection>
                <dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server">
                </dx:PopupControlContentControl>
            </ContentCollection>
        </dx:ASPxPopupControl>


        <script type="text/javascript">
            var keyValue;
            function OnMoreInfoClick5(element, key) {
                popup.SetContentUrl("x1/disp.aspx?id=" + key);
                popup.Show();
                return false;
            }
        </script>

      <dx:GridViewDataColumn Caption="项目内容" VisibleIndex="11" Width="15%">
                    <DataItemTemplate>
                        <a href="javascript:void(0);" onclick="OnMoreInfoClick(this, '<%# Container.KeyValue %>')">详情</a>
                    </DataItemTemplate>
                    <HeaderStyle HorizontalAlign="Center" />
                    <CellStyle HorizontalAlign="Center">
                    </CellStyle>
       </dx:GridViewDataColumn>

      <dx:GridViewDataColumn Caption="详情" VisibleIndex="12">
                    <DataItemTemplate>
                        <a href="javascript:void(0);" onclick="OnMoreInfoClick5(this, '<%# Eval("流水号") %>')">详情</a>
                    </DataItemTemplate>
                    <HeaderStyle HorizontalAlign="Center" />
                    <CellStyle HorizontalAlign="Center">
                    </CellStyle>
       </dx:GridViewDataColumn>

  • 相关阅读:
    Spring Cloud(面试必备):服务雪崩、降级与熔断
    SpringCloud 分布式事务解决方案
    2020年3月25java现场面试(有点料)
    SpringCloud Feign工作原理
    MySQL数据库引擎详解
    MySQL Hardware--CentOS 6修改CPU性能模式
    MySQL Hardware--网络测试
    MySQL Execution Plan--EXPLAIN用法
    MySQL Event--Event and EventScheduler
    MySQL Error--Error Code
  • 原文地址:https://www.cnblogs.com/qqhfeng/p/9937214.html
Copyright © 2011-2022 走看看