摘要: 因为项目需要,感觉使用Ajax的TabContainer比较方便,但是其默认的样式与我们已有的风格不一致,所以查了查资料,凑了套简单的style.效果图: Css Style:<style type="text/css">/* Following are tab control styles, Special for Outsourcing Set-up Process Page */... 阅读全文
posted @ 2008-10-29 18:28 KevinWang 阅读(578) 评论(0) 推荐(0) 编辑
摘要: 在说到这个问题的时候,也许有人会问CSS中不是有vertical-align属性来设置垂直居中的吗?即使是某些浏览器不支持我只需做少许的CSS Hack技术就可以啊!所以在这里我还要啰嗦两句,CSS中的确是有vertical-align属性,但是它只对(X)HTML元素中拥有valign特性的元素才生效,例如表格元素中的<td>、<th>、<caption>等,... 阅读全文
posted @ 2008-10-29 18:27 KevinWang 阅读(181) 评论(0) 推荐(0) 编辑
摘要: If you add a reference to Microsoft Excel and then try to use it within your ASP.NET application you may receive the following error.Server Error in '/excel' Application. Retrieving the COM class fact... 阅读全文
posted @ 2008-10-14 15:31 KevinWang 阅读(353) 评论(2) 推荐(0) 编辑
摘要: Asp.net的身份验证有有三种,分别是"Windows | Forms | Passport",其中又以Forms验证用的最多,也最灵活。 Forms 验证方式对基于用户的验证授权提供了很好的支持,可以通过一个登录页面验证用户的身份,将此用户的身份发回到客户端的Cookie,之后此用户再访问这个web应用就会连同这个身份Cookie一起发送到服务端。服务端上的授权设置就可以根据不同目录对不同用户... 阅读全文
posted @ 2008-10-08 12:04 KevinWang 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 在ASP.Net中,通过在Web.config中作如下配置:<AUTHENTICATION mode="Forms"><FORMS loginUrl="Login.aspx" /> </AUTHENTICATION> <AUTHORIZATION> <DENY users="?" /> </AUTHORIZATION>就可以将... 阅读全文
posted @ 2008-10-08 12:03 KevinWang 阅读(218) 评论(0) 推荐(0) 编辑
摘要: <table runat="server" style="width: 800px; font-size:12px; border-collapse:collapse; border:solid 1px #000000; " border="1" id="tblOneyDay" >$g%W+?.^:P.R <tr> j([$@*c#t/r7K'| <td style=... 阅读全文
posted @ 2008-08-27 14:38 KevinWang 阅读(780) 评论(0) 推荐(0) 编辑
摘要: 如何能让pdf文件像flash页面一样嵌入到html页面中,终于功夫不负有心人,找到一种方法。代码:<object classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" width="760" height="411" border="0"> <param name="_Version" value="65539"> &l... 阅读全文
posted @ 2008-08-22 14:36 KevinWang 阅读(772) 评论(0) 推荐(0) 编辑
摘要: 安装好ASP.NET Ajax以后添加ASP.NET AJAX所必需的Microsoft.Web.Extensions.dll和System.Web.Preview.dll两个程序集的引用。System.Web.Extensions. dll和Microsoft.Web.Preview.dll这两个程序集所在的位置(按照默认路径,这两个文件一般位于C:\Program Files\Microsof... 阅读全文
posted @ 2008-08-19 17:02 KevinWang 阅读(111) 评论(0) 推荐(0) 编辑
摘要: In order for your ASP.NET 2.0 applications to understand AJAX, you need to modify your Web.Config file settings to explain what the server side controls like UpdatePanel mean. So, here it goes.StartVi... 阅读全文
posted @ 2008-08-19 16:57 KevinWang 阅读(1010) 评论(0) 推荐(0) 编辑
摘要: 1.下载: 下载地址:http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx打开网址后找到这些: AjaxControlToolkit.zipsource code, 3443K, uploaded Nov 20 2007- 189566 downloads AjaxControlToolkit-NoSour... 阅读全文
posted @ 2008-08-19 15:29 KevinWang 阅读(1060) 评论(0) 推荐(0) 编辑