[Sharepoint 컨트롤] MOSS 모드 창

22388 단어 SharePoint
<script src="../../_layouts/15/SP.UI.Dialog.js" type="text/javascript"></script>

    <script type="text/javascript">

        function tixing() {

            var options = {

                url: "/_layouts/15/MyDemo/ApplicationPage2.aspx" ,

                title: " " ,

                //width:"600px",

                height: "218px"

            };

            SP.UI.ModalDialog.showModalDialog(options);

        }

    </script >

 
 1  <input id="Button1" type="button" value="button" onclick=" tixing()"/>

 2 <asp: Content ID ="Main" ContentPlaceHolderID ="PlaceHolderMain" runat ="server">

 3     <script src="../SP.UI.Dialog.js" type="text/javascript"></ script>

 4     <table >

 5         <tr>

 6             <td>

 7                 <input type="checkbox" />  &nbsp;

 8                 <input type="text" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

 9             </td>

10             <td>

11                 <input type="radio"   name="pinlv" /> 

12             </td>

13         </tr>

14         <tr style=" margin-top:3px">

15             <td>

16                 <input type="checkbox" />  &nbsp;

17                 <input type="text" />

18             </td>

19             <td>

20                 <input type="radio" name="pinlv" />

21                  

22                 <input type="text" style=" width: 20px" />

23                  ,

24                 <input type="text" style=" width: 20px" />

25                  

26             </td>

27         </tr>

28     </table >

29     <div style=" margin-top:3px">

30        &nbsp;&nbsp; : 

31                 <input type="text" style=" width: 22px" />

32 /

33                 <input type="text" style=" width: 20px" />&nbsp;  ,

34                 <input type="text" style=" width: 20px" /> 

35     </div >

36     <input id="Button1" class="btn" type="button" value=" " style=" margin-left:110px ; margin-top:39px" onclick=" javascript: SP.UI.ModalDialog.commonModalDialogClose(2, 1); " />

37     <input id="btnCancel" class="btn" type="button" value=" " style="margin-left :120px;margin-top: 39px" onclick ="javascript: SP.UI.ModalDialog.commonModalDialogClose(2, 1);" />

38 </asp: Content>

 

좋은 웹페이지 즐겨찾기