iframe id picFrame src UploadPicture aspx width 370 height 170 framebo

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<iframe id="picFrame" src="UploadPicture.aspx" width = "370" height = "170" frameborder="0" scrolling="no"></iframe>
<br />
<img id='logo' src="Images/bar-loading1.gif" alt="Loading..." />
это html kod
///////////////////////////////////////////
<body>
<form id="form1" runat="server">
<div id="top" style="padding-left: 10px; background-color: #6693cf; height: 50px;
font-weight: bold; font-size: 14pt; text-transform: none; color: #ffffff; font-family: Tahoma;">
Upload contact picture<br />
</div>
<div>
<br />
<asp:FileUpload ID="uploadFile" runat="server" CssClass="upload"/><br /><br />
<br />
<asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" CssClass="button"/>
<input type="Button" value="Close" class="button" onclick="ReloadImage(); CloseSelfNoWarning();" id="Button1" />&nbsp;
</div>
</form>
</body>
это АСПХ
///////////////////////////////////
вызов из срм происходит так:
window.open('/Custom/Yuri/UploadPicture/UploadPicture.aspx?id=' + crmFormSubmit.crmFormSubmitId.value ,null,
'height=200,width=400,status=yes,toolbar=no,menubar=no');