探知,不断发现
探知不断发现

随笔分类 -  asp.net

上一页 1 2 3 4 下一页
When we use PdfStamper to merge fields.
摘要:When we use PdfStamper to merge fields. we will find "This file is damaged, Adobe acrobat can not repair the document most adobe versions, give message “This file is damaged”, but it can repair. Unfo... 阅读全文
posted @ 2008-10-17 17:04 lovebanyi 阅读(432) 评论(0) 推荐(0)
From Single PDF template Make a series PDF
摘要:Some Times we need make a series PDF from an single PDF template from above two article we know how to make an single pdf. and how to add page to new pdf. From some other actile of internet we may... 阅读全文
posted @ 2008-05-19 15:16 lovebanyi 阅读(540) 评论(0) 推荐(0)
PDF template and print
摘要:We need prepare tools, "Adodb Acrobat" please download it and install it. open the adodb acrobat . make an new pdf file (you can make it form image, word and exgist pdf file) find Form to... 阅读全文
posted @ 2008-05-19 15:01 lovebanyi 阅读(1175) 评论(0) 推荐(0)
how to merge pdf file [iTextSharp]
摘要:Make 3 instance MemoryStream stream = new MemoryStream(); Document doc = new Document(); PdfCopy writer = new PdfCopy(doc, stream); doc.Open(); Read what page y... 阅读全文
posted @ 2008-05-19 14:51 lovebanyi 阅读(644) 评论(0) 推荐(0)
Radgrid 与 文件下载
摘要:有这样的一个需求: 用户可以选择radgrid中的每个列。 然后点击 [Download selected]按钮。 这个时候 哪个列就消失了, 并自动弹出一个下载框 最好的一个方法是 加一个在这个页面中 并且加一个radajaxpanel控件。 把一些信息先存入到sesson中 RadAjaxPanel1.ResponseScripts.Add("document.getElementBy... 阅读全文
posted @ 2008-05-13 17:14 lovebanyi 阅读(529) 评论(0) 推荐(0)
一个简单的导航菜单 纯js
摘要:Ipa-Acn header abc kk kkkk bode 因为其它的浏览器不支持onmouseleave事件。。所有只能在菜单的周围加上onmouseover的事件用它来隐藏菜单 ----lovebanyi lookcode.net 打开新页面的时候希望可以保留 菜单(或子菜单)选中的样式 请删掉 Hidden()... 阅读全文
posted @ 2008-05-13 09:31 lovebanyi 阅读(809) 评论(0) 推荐(0)
does not support the Select property
摘要:LinqDataSource 'LinqDataSource1' does not support the Select property when the Delete, Insert or Update operations are enabled. I bind the datasource in code often. today i want to use linqdatasour... 阅读全文
posted @ 2008-05-06 12:45 lovebanyi 阅读(335) 评论(0) 推荐(0)
复合控件Asp.net2.0
摘要:每次都从最原始的方法去写一些复杂的控件是不是很郁闷呢? 如何可以简单的利用现有的控件来制作复合控件呢? 一个很简单的例子看一下就明白了。 1 [ToolboxData("")] 2 public class WebCustomControl1 : CompositeControl 3 { 4 public TextBox txt1 = new TextBox(... 阅读全文
posted @ 2008-04-17 17:13 lovebanyi 阅读(330) 评论(0) 推荐(0)
How to make a test environment for Mobile site develope
摘要:How to make a test environment. for Mobile Test. First you must install IIS. ActiveSync. open ActiveSync ->Connect seeting-> check "Enabled the blow point" -> then select DMA. Open VS2008, Muen ->... 阅读全文
posted @ 2008-04-15 10:37 lovebanyi 阅读(411) 评论(0) 推荐(0)
Build web site 生成站点 批处理
摘要:我们的源代码一般是处于某些源代码管理软件下面。。这样我们在拷贝的时候(上传到服务器)来会带来一点点小麻烦。 我们可以写一个小小批处理来拷贝这些 @echo off echo - Copying Web Files author lovebanyi xcopy *.aspx ..\install\ /S/E/q/y xcopy *.cs ..\install\ /S/E/q/y xcopy *.cs... 阅读全文
posted @ 2008-03-14 17:28 lovebanyi 阅读(279) 评论(0) 推荐(0)
A Session Like ViewState
摘要:private string mySessionKey { get { if (ViewState["MySession"] == null) { Guid guid = Guid.NewGuid(); ViewState["MySessi... 阅读全文
posted @ 2008-03-07 16:57 lovebanyi 阅读(206) 评论(0) 推荐(0)
WatiN Test Recorder 录制操作的工具
摘要:WatiN Test Recorder 是一个用来录制操作代码的工具。 这样我们的测试人员就可以更方便的稍微改点代码就可以完成自动化测试的任务了。 http://watintestrecord.sourceforge.net/Templates.html 看到c#的代码了吗? 复制到我们自己的工具哪边就可以了。 阅读全文
posted @ 2008-03-04 10:40 lovebanyi 阅读(1170) 评论(2) 推荐(0)
为什么五角星不会显示。★->? 而变成了一个?号
摘要:原来以为只要是unicode里面的字符哪么在支持的机子上应该都是会显示的, 最近发现错了。 对字体整下展示细节更加的了解了。(其要有相应的字体。并且哪个字体文件里有这个字。) 你还是需要在区域和语言哪边设置 支持 东亚的语言。这样东亚的一些文字才有办法显示出来。 Why can't be show "★" or some char. Please open control panel -> ... 阅读全文
posted @ 2007-12-04 17:32 lovebanyi 阅读(242) 评论(0) 推荐(0)
Radgrid EditFormType="AutoGenerated" 如何获得值
摘要:... 阅读全文
posted @ 2007-11-28 15:59 lovebanyi 阅读(920) 评论(0) 推荐(0)
如何解决flash跑到层上面的问题?How to resolve the div layer appear over the top of flash?
摘要:如何解决flash跑到层上面的问题。 在ie 和firefox下是正常的。 可是在opera,safari下是不正常 其怪的是这个我也有加了但是发现还是不行。换成transparent无效 原来在这边我少加了这个属性 不一定要用transparent 用wmode='Opaque也是可以的 其它关键词 thickbox 阅读全文
posted @ 2007-10-29 14:53 lovebanyi 阅读(358) 评论(0) 推荐(0)
加载 media control的方式来处理 flash连接 flash处理连接一个模板
摘要:我们希望可以四通轻松的处理flash的连接。但是 flash object 这种情况只能在 firefox下正常。但是在ie 低下是不正常的。 而是想到一个解决方案就是。自己建一个flash 然后把 link 传进去 处理 click 事件 flash调用getURL(_root.b,"_self"); 新建一flash文档 拉入一个MediaController组件取名为MyMc 写代码... 阅读全文
posted @ 2007-10-19 15:26 lovebanyi 阅读(351) 评论(0) 推荐(0)
模拟 back 后退函数history.go(-1)
摘要:在项目有一个这样的需求 每个函数需要有一个像 浏览器的history.go(-1)的实现。 在ajax的环境下history.go(-1)不没有效果了。 但是我们必须模拟这个. 可以很容易想到一个数据结构 statck , 当某个事件发生的时候我们就把它记录下来 push(); 如果点击back的时候我们就必面 pop出来. easy 接下来测试一下。 我们发现。 这时候back 出来的状态... 阅读全文
posted @ 2007-10-15 11:10 lovebanyi 阅读(1137) 评论(0) 推荐(0)
Marquee 连续滚动
摘要:在网上搜了一下几乎是同一个版本的连续滚动。并且有一些问题 于是就自己写了一个 lookcode searoute ----write by lovebanyi 风云--- 主要的是思想是利用滚条动。所以我们需要两个element 并且我们代码一定得让它产生滚动条。就是对同一个文本进行多次复制 这样子就OK了 第二就是计算出 重新开始的位置 ... 阅读全文
posted @ 2007-09-24 18:17 lovebanyi 阅读(5639) 评论(3) 推荐(0)
IE Print 局部打印
摘要:有这样的一个需求我们需要用到print 有一个页面 里面有一个有滚动条的内容区域,我们希望把内容区域全部打印出来。 想了N个方法 。。。 后面用的是 iframe的方法可是这个时候在IE底下还是有问题, 子框架函数 function Print() { this.focus(); ///加了这个后才有效果 this.print(); } 阅读全文
posted @ 2007-09-03 09:43 lovebanyi 阅读(471) 评论(0) 推荐(0)
Radgrid EditFormType="WebUserControl" webcontrol的初始化
摘要:在使用radgrid的控件的时候。如果你碰到了dropdownlist控件,这个时候我们没有办法在 html的代码里直接设置 selectIndex 也许我们会想如造page 始初化控件的设置方式 if (!Page.IsPostback) { bindControl();//在这边进行控件的绑定 } 但是我们会发现。这个Page.IsPostback在加载和回发的时候都是一样,得不... 阅读全文
posted @ 2007-08-30 11:02 lovebanyi 阅读(429) 评论(0) 推荐(0)

上一页 1 2 3 4 下一页