01 2006 档案
在ASP.NET中使用客户端脚本
摘要:Scott Mitchell 4GuysFromRolla.com 摘要:尽管 ASP.NET 在服务器上执行其大多数操作,但是某些操作在客户端进行处理可能会更好。Scott Mitchell 说明了 ASP.NET 页面和控件如何添加客户端代码。 下载本文的源代码。 本页内容 简介 创建基类作为添加客户端脚本的基础 从代码隐藏类添加客户端脚本 根据对用户操作的响应执行客...
阅读全文
posted @ 2006-01-22 10:49
OnlyLiu
Reusing Code with ASP Include Files and Subroutines
摘要:Reusing Code with ASP Include Files and SubroutinesBy Nannette Thacker - 05/01/1999 I call it "Frankenstein" code when an author cuts and pastes the same snippet of code over and over throughout an a...
阅读全文
posted @ 2006-01-22 10:09
OnlyLiu
ASP Driven HTML Outlines
摘要:ASP Driven HTML OutlinesBy Nannette Thacker - 08/13/1999 Have you ever wanted to create a web page in outline form? Here's how, using ASP Driven HTML and the Ordered List, command. I have created t...
阅读全文
posted @ 2006-01-22 10:07
OnlyLiu
Setting Up Your Own ASP Development Templates
摘要:Setting Up Your Own ASP Development TemplatesBy Nannette Thacker - 05/01/1999 After you've been working with ASP development for a while, you will find that there are standard things which you includ...
阅读全文
posted @ 2006-01-22 10:06
OnlyLiu
Javascript Field Validations -- Client Side Scripting
摘要:Javascript Field Validations -- Client Side ScriptingBy Nannette Thacker - 08/19/1999 This page is designed as a reference where you can snag source code for both the HTML form elements and the Javas...
阅读全文
posted @ 2006-01-22 10:04
OnlyLiu
Javascript Check and Uncheck All Checkboxes
摘要:Javascript Check and Uncheck All CheckboxesBy Nannette Thacker - 04/27/2000 6/7/01 update: Please see a response to a letter on this article for further details on how to check if there is only ONE c...
阅读全文
posted @ 2006-01-22 10:02
OnlyLiu
Validate Numeric Fields Using Javascript.
摘要:Validate Numeric Fields Using Javascript.By Nannette Thacker - 1/18/2001 Use the onBlur() method to validate numeric fields with this checkNumeric() javascript function. Optionally pass in a period, ...
阅读全文
posted @ 2006-01-22 10:01
OnlyLiu
弹出窗口的位置Javascript Smart Popups That Don't Pop Off Screen
摘要:Javascript Smart Popups That Don't Pop Off ScreenBy Nannette Thacker - 02/04/2001 Updated: 6/4/01 6/4/01 Update: Unfortunately, many people trying to use this function are clueless how javascript wor...
阅读全文
posted @ 2006-01-22 09:59
OnlyLiu
Javascript Confirm Form Submission
摘要:Javascript Confirm Form SubmissionBy Nannette Thacker - 11/17/2000 Updated: 2/15/2001 Oft times you may wish to have the user confirm, before they process a form's action. For instance, clicking the ...
阅读全文
posted @ 2006-01-22 09:53
OnlyLiu
如何使数据库中取出的数据保持原有格式
摘要:如何保持数据库中原有格式不变:这些问题在论坛里面几乎天天有人问~!其实当在输入信息,然后提交信息的时候,所有内容的格式是没有变的。只是在当提取数据库的时候,某些特殊的东西需要将它们显示出来:比如空格、比如回车等1,先定义一个函数:主要作用是替换特殊字符代码 ", ">") fString = replace(fString, "") fString = Replace(fS...
阅读全文
posted @ 2006-01-18 17:47
OnlyLiu
页面打印预览功能
摘要:页面打印预览功能[收藏] 表格一:111111111111111111111111111111111111在打印的input标签中加入class=“NoPrint”可以避免打印的时候把按钮等不相关的东西打出来,该style如下: 还有要注意的就是在设置表格的时候,style="border-collapse: collapse"可以把细线细化开,避免线条美观,cellspacing,cellp...
阅读全文
posted @ 2006-01-18 17:04
OnlyLiu
用ASP和JavaScript实现网页上的动态分级目录
摘要:一、动态分级目录及其特点 所谓分级目录,其实大家并不陌生,熟悉Windows操作系统的人,一定对Windows下文件系统的资源管理器有印象,分级目录的显示(如下图所示)就象资源管理器一样是一个树形结构。 通过点击“文件夹”图标,你就可以看到这个类别下的子类别,如此递归直到最末梢的结点。 这种分级目录在许多网络应用中都很重要,它主要有以下优点: 1.直观性强...
阅读全文
posted @ 2006-01-18 16:58
OnlyLiu
Using JavaScript and CSS to Enhance Your ASP.NET Datagrid
摘要:http://www.codeproject.com/useritems/javascriptdatagrid.asp#xx1324624xxIntroduction This article will show you how to implement client-side JavaScript functionality and Cascading Style Sheets using an...
阅读全文
posted @ 2006-01-16 11:46
OnlyLiu
Page DataGrid with huge count of records
摘要:Introduction Many of you are familiar with paging in an ASP.NET DataGrid. And, also, most of you must know that standard methods of paging in the .NET Framework does not work (of course, we should not...
阅读全文
posted @ 2006-01-16 11:40
OnlyLiu
http://www.codeproject.com/dotnet/WWF.asp#xx1331348xx
摘要:http://www.codeproject.com/dotnet/WWF.asp#xx1331348xxThis article illustrates WWF custom activities to simulate user action and populate web page input fields and submit the page.
阅读全文
posted @ 2006-01-16 11:33
OnlyLiu
浙公网安备 33010602011771号