上一页 1 ··· 3 4 5 6 7
摘要: TextBox无非就是runat="server"的一个HTML Input控件。然而,在需要,动态添加TextBox的案例中,往往只需要TextBox们来提交数据。据此,我们可以在客户端动态无刷新添加“TEXTBox”下面是代码:[代码][代码] 阅读全文
posted @ 2008-07-28 10:02 LanceZhang 阅读(954) 评论(0) 推荐(0) 编辑
摘要: 客户端访问: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->function FindCheckBox() { //Get target base & child control. var TargetBaseCon... 阅读全文
posted @ 2008-07-24 17:20 LanceZhang 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 来自http://www.webmasterworld.com/forum83/200.htm 很好很强大 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> One Hundred Percent Height divs ... 阅读全文
posted @ 2008-07-24 10:29 LanceZhang 阅读(8414) 评论(0) 推荐(0) 编辑
摘要: 在有些应用中我们需要实时的更新站点用户是否在线的状态。比如一些论坛里的在线成员实时显示,或基于网页的聊天、会议系统等。这种情况下,如果用户点击“退出”按钮或链接,我们将之行一系列后台操作,将该用户标识成off line状态;但如果用户直接关闭浏览器的话,就需要我们想办法来更新用户的状态。 下面是我总结的几种解决方案,请高手们指教: 第一类:服务端解决 1.如果Session是InPro... 阅读全文
posted @ 2008-07-22 11:26 LanceZhang 阅读(5148) 评论(2) 推荐(1) 编辑
摘要: 服务端四种,客户端两种 阅读全文
posted @ 2008-07-21 10:41 LanceZhang 阅读(53363) 评论(17) 推荐(5) 编辑
摘要: 1. 在ActiveX控件中定义:void Enable(long enable) 2. 在上面定义的函数中调用来自COleControl的方法: SetEnabled(enable); 3. 在页面中使用JavaScript代码document.all['MyActiveXObject'].Enable(false/true);即可完成启用、禁用 阅读全文
posted @ 2008-07-18 14:23 LanceZhang 阅读(1152) 评论(0) 推荐(0) 编辑
摘要: 在IE下,我们可以轻松使用以下代码来实现设置主页: Click here to make Java-scripts.net your default homepage! 然而,在firefox下是不行的 要使用脚本在firefox下设置主页,首先必须确认在浏览器的“about:config”中,把 signed.applets.codebase_principal_support 设置成tr... 阅读全文
posted @ 2008-07-18 12:19 LanceZhang 阅读(844) 评论(1) 推荐(0) 编辑
摘要: 代理 阅读全文
posted @ 2008-07-18 11:49 LanceZhang 阅读(3408) 评论(3) 推荐(0) 编辑
摘要: 问: Hi All I have requirment to access web service wsdl (newCarConfig.cfc?wsdl) file through javascript with out using webservice.htc file. Is there any way to achive this functionality Thanks in adva... 阅读全文
posted @ 2008-07-13 14:36 LanceZhang 阅读(6113) 评论(0) 推荐(1) 编辑
摘要: 问: Hi, Do u guys know if we can trap in client side when a validation is taking place or when it s finished in client side. I am talking about validation controls like: requiredfieldvalidator, Regul... 阅读全文
posted @ 2008-07-08 12:02 LanceZhang 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 问: Hi, I have this C#/ASP.NET/.aspx page with a string variable named myString with the value "Mario Gamito". How can I access "Mario Gamito" from within a JavaScript function, i. e., the variable's... 阅读全文
posted @ 2008-07-08 11:59 LanceZhang 阅读(1116) 评论(0) 推荐(0) 编辑
摘要: 问: Hi, I need to access a sql database through odbc using javascript. This database resides in the client PC and the only way to connect to it is using the client PC ODBC. The asp.net application need... 阅读全文
posted @ 2008-07-08 11:56 LanceZhang 阅读(3035) 评论(2) 推荐(0) 编辑
摘要: 问: i want to call c# function from javascript and also want to pass argument to that function. 答: Hi vrparekh@gmail.com Please check the following thread, his question is same to yours: want to... 阅读全文
posted @ 2008-07-08 11:53 LanceZhang 阅读(1472) 评论(0) 推荐(0) 编辑
摘要: 问: Hello, I am new to web services. I have built couple of web services with C# asp.net. When I do "Start Without debugging" it opens a .asmx page that has all my services listed. Question: Is ... 阅读全文
posted @ 2008-07-08 11:50 LanceZhang 阅读(1291) 评论(0) 推荐(0) 编辑
摘要: 问: I want to write some css that works only in IE6 without putting it in a separate file like the following: Is this possible? Also if some one know any articles about how to make a scrolling n... 阅读全文
posted @ 2008-07-08 11:48 LanceZhang 阅读(405) 评论(0) 推荐(0) 编辑
摘要: 问: Hi, I made a marquee to show news moving horizontaly from right to left and have a width 80%.It is working fine in IE browser but not in Firefox.In Firefox it continue after the bound I expect and ... 阅读全文
posted @ 2008-07-08 11:45 LanceZhang 阅读(802) 评论(0) 推荐(0) 编辑
摘要: 问: I have a modal dialog window that pops up to allow the user to enter line item info (via a datalist). When the user closes this dialog via an OK button I created, I am returning the total value of ... 阅读全文
posted @ 2008-07-08 11:42 LanceZhang 阅读(1644) 评论(0) 推荐(0) 编辑
摘要: 客户的提问:Unfortunately I haven found out an answer to this. Anybody have an idea ?I have two DIVs on my master page. Left "frame" and the content. Of course I do have background color on the left frame s... 阅读全文
posted @ 2008-05-28 16:49 LanceZhang 阅读(1633) 评论(0) 推荐(0) 编辑
摘要: 客户的问题:I have a submit button when i click the submit button i want to generate a message box with some color(pink) message should be successfully submitted the data,and i know the script for alert box... 阅读全文
posted @ 2008-05-28 13:43 LanceZhang 阅读(738) 评论(0) 推荐(0) 编辑
摘要: 客户的提问:hi friends i need to hide gridview columns using javascript ....... how do i ???????????????????????any help really appreciated urgent 回答:Hi Vinogays just fire the followingfunction:<scriptla... 阅读全文
posted @ 2008-05-28 13:11 LanceZhang 阅读(1755) 评论(2) 推荐(0) 编辑
摘要: 客户的提问:Is there a way to add hover thumbnails to each item in a treeview?publicTreeNodeBrowseServer(TreeNoderootNode,stringpath){DirectoryInfodi=newDirectoryInfo(path);DirectoryInfo[]dicollection=di.Ge... 阅读全文
posted @ 2008-05-28 13:06 LanceZhang 阅读(2904) 评论(0) 推荐(0) 编辑
摘要: 在实际应用中,使用.net提供的OnClientClick同样可以做到的客户端验证功能, 以避免不必要的服务器请求。 阅读全文
posted @ 2008-05-28 12:58 LanceZhang 阅读(1114) 评论(0) 推荐(0) 编辑
摘要: Hi friend try to use the following code, I think this is the best solution, easy and cool Hope this helps Lance 阅读全文
posted @ 2008-05-27 11:10 LanceZhang 阅读(1287) 评论(1) 推荐(0) 编辑
摘要: Qustion: I am using a web application input page where the user enters name in english from sql table and upon pressing tab on the english name i am displaying the name in different language in anoth... 阅读全文
posted @ 2008-05-26 10:39 LanceZhang 阅读(6963) 评论(1) 推荐(0) 编辑
摘要: 优点:模态对话框,效果不错,最重要的是代码少 缺点:使用文本做输入参数,而没有使用DIV等对象,扩展性比较局限 阅读全文
posted @ 2008-05-26 10:28 LanceZhang 阅读(4056) 评论(0) 推荐(0) 编辑
摘要: 英文字体I.Amosis Technik(活泼)II.Hattenschweiler(肃穆)III.Patrician Sample(流畅)IV.SF Quantzite(庄重)V.SF Quartzite OutLine(衬托)VI.Arial(作特殊英文字体以示区别)中文字体1.宋体2.黑体3.方正大标宋简体4.方正大黑简体5.华文行楷6.文鼎大标宋简7.文鼎粗圆简8.文鼎特粗宋简9.文鼎特粗... 阅读全文
posted @ 2007-11-22 16:42 LanceZhang 阅读(2017) 评论(0) 推荐(0) 编辑
摘要: 从事人力资源工作很多年了,多多少少积累了一些经验。已经有许多同仁发表文章,讲了如何撰写简历,面试的礼仪要求等,珠玉在前,不再赘言。适逢2006届大学毕业生进入求职阶段,特此针对面试环节谈一些看法,希望能对大家有所帮助。当然,仅为一家之言,若能抛砖引玉,则大幸也。 阅读全文
posted @ 2007-08-21 16:26 LanceZhang 阅读(881) 评论(1) 推荐(0) 编辑
摘要: Interview email questions are in 4 categories. We look for candidates who give good responses in any 2 categories. The quality of answers is important. It is OK to skip some questions. 可以用中文回答.I) Comp... 阅读全文
posted @ 2007-08-21 16:17 LanceZhang 阅读(1857) 评论(1) 推荐(0) 编辑
摘要: 首先说明,event其实也是一种delegate,为了区分,我们称一般的delegate为“plain delegate”。写代码的过程中,经常会在delegate和event之间进行选择,以前也没仔细思考选择的原因,今天终于忍不住花了半天时间仔细琢磨了一下……好了,直接拿代码说话吧: 1using System; 2 3namespace EventAndDelegate 4{ 5 pu... 阅读全文
posted @ 2007-08-18 08:34 LanceZhang 阅读(1030) 评论(0) 推荐(0) 编辑
摘要: 自己的抽象工厂模式(Abstract Factory Pattern) 阅读全文
posted @ 2007-08-18 08:30 LanceZhang 阅读(1195) 评论(4) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7