在页面上放入一个上传控件和一个图片控件.
<asp:FileUpload ID="FileUpload3" runat="server" onpropertychange="show1(this.value)"/>
<script type="text/javascript">
function show1(upimg)
...{
var dd=document.getElementById("divview");
dd.filters.item("DXImageTransform.Microsoft.AlphaImageLoader").src = upimg;
dd.style.width = 166;
dd.style.height = 190;
dd.filters.item("DXImageTransform.Microsoft.AlphaImageLoader").sizingMethod = scale;
}
</script>
新闻热点
疑难解答