随笔分类 -  03. JavaScript & CSS

ASP.NET微软官方论坛 Client Side Web Development 版块中的常见问题及回答
摘要:服务端四种,客户端两种 阅读全文
posted @ 2008-07-21 10:41 LanceZhang 阅读(53378) 评论(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 阅读(1157) 评论(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 阅读(847) 评论(1) 推荐(0) 编辑
摘要:代理 阅读全文
posted @ 2008-07-18 11:49 LanceZhang 阅读(3420) 评论(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 阅读(6114) 评论(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 阅读(457) 评论(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 阅读(1119) 评论(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 阅读(3039) 评论(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 阅读(1473) 评论(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 阅读(1296) 评论(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 阅读(406) 评论(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 阅读(803) 评论(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 阅读(1645) 评论(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 阅读(1635) 评论(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 阅读(739) 评论(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 阅读(1756) 评论(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 阅读(2906) 评论(0) 推荐(0) 编辑
摘要:在实际应用中,使用.net提供的OnClientClick同样可以做到的客户端验证功能, 以避免不必要的服务器请求。 阅读全文
posted @ 2008-05-28 12:58 LanceZhang 阅读(1115) 评论(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 阅读(1289) 评论(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 阅读(6994) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示