摘要: 1. 情景描述2. 测试代码1. 情景描述首先使用asp.net中自带空间FileUpload将图片上传到服务器上之后,在“在线编辑器”中需要显示该图片,需要得到该图片的以http://开头的url路径2. 测试代码其实只需要使用System.Web.UI.Control.ResolveUrl (string),其中string参数是上传图片的相对路径。 阅读全文
posted @ 2011-02-13 19:34 qiang.xu 阅读(2150) 评论(0) 推荐(0) 编辑
摘要: 1. 实现代码View Code At any rate, the trick is to use the Windows Forms Webbrowser control. Contrary to what you may or may not have heard, this does not have to be situated on a container form - it can be used independently with 100% programmatic access. There are a couple of catches: First, being a Wi 阅读全文
posted @ 2011-02-13 11:41 qiang.xu 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1.iframe自适应高度?2. 上传图片并保存到服务器上之后,如何得到该图片服务器路径(http://...) 更新中... 阅读全文
posted @ 2011-02-13 10:58 qiang.xu 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 1. 下载代码jquery-auto-iframe-height或者下载2. 使用demo代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">& 阅读全文
posted @ 2011-02-13 10:49 qiang.xu 阅读(1493) 评论(0) 推荐(0) 编辑