Fengzhimei@Dot.Net
Designing My Colorful Dream
posts - 77,  comments - 196,  trackbacks - 3

最新评论

共10页: 1 2 3 4 5 6 7 8 9 下一页 末页 
Re:javascript中parseInt的问题 yinzixin 2010-07-09 10:19  
哎 我也遇到这个问题了
re: javascript中parseInt的问题 jetchen 2009-06-11 18:56  
感謝樓主的分享!我今天就碰到了這個問題,查了很久才查到!再次感謝樓主的分享!
re: StringBuilder in Javascript 奋斗的小涛 2009-05-19 15:11  
不错的文章
Yes, I have to give you a hug. My code was in a .stp.
re: Copy dll from GAC. cypher 2009-03-07 00:06  
@Ocean
For SharePoint 2007, the path is different, see below:

C:\WINDOWS\assembly\GAC_MSIL\Microsoft.HtmlTrans.Interface\12.0.0.0__71e9bce111e9429c\Microsoft.Htmltrans.Interface.dll

Also, you should be able to see this directory in cmd
re: javascript中parseInt的问题 开发人员 2009-01-05 11:52  
跟ls的n多人一样的经历。:-D
Thank you very much for the quick reply and I will try your solution. :)
Base on your scenario, the possible solution I can think of is sending a xmlhttp request to list web service (lists.asmx), after you get response from web service, parse the response xml to get whatever content you need.

Code snip--
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open("POST", "http://site url/_vti_bin/Lists.asmx", false);
xmlhttp.setRequestHeader("SOAPAction", "http://schemas.microsoft.com/sharepoint/soap/GetListItems"" target="_new">http://schemas.microsoft.com/sharepoint/soap/GetListItems");
xmlhttp.setRequestHeader("Content-Type", "text/xml");
xmlhttp.send("<?xml version='1.0' encoding='utf-8'?><soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance" target="_new">http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'><soap:Body><GetListItems xmlns='http://schemas.microsoft.com/sharepoint/soap/'><listName>List Name</listName><queryOptions></queryOptions><query><Query><Where><Eq><FieldRef Name='Field Name'/><Value Type='Text'>Field Value</Value></Eq></Where></Query></query></GetListItems></soap:Body></soap:Envelope>");
var responseXML = xmlhttp.responseXML;

// Do whatever you want here...
Thanks for the the replay. What I want to do is get some content from the list in popup window based on some rules. It is similar to the built in content reuse button, but not exactly same.

Regards,

Bill
Bill,

You can find those RTE functions from Form.js at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\1033 hive.

To answer you #2 question, it's should be easy to just open a window which has a custom list, you could use window.showModalDialog function. The question is what's the purpose of doing that, if interaction between popup window and html editor is required, then you need to spend some time to figure that out:)
Great Post. Do you know where I can find the document for RTE_GetEditorDocument function and other RTE functions?

And if I want to add a new button to open a dialog window which contains a custom list, how can I implement this function?

Thanks a lot,

Bill
re: javascript中parseInt的问题 elicui 2008-07-22 13:31  
当时找不出问题,只好改用了另一种方法。
后来觉得不甘心,让别人调查,发现楼主这篇贴子,真实豁然开朗!
谢谢楼主!
Hi, Blogger, nice to meet you. I wish to ask one question here. Thank you.
I tried Sharepoint EventHandler ItemAdding, having registered via codes and testified its correct functionality.
But when I changed to use feature.xml and stsadm command to register it, I met problem. The first time I successfully registered, but the next time I`m changing it and re-registered it, it didn`t change in .gif file and functionality as well. I guess something wrong in my way of deployment, This is my steps:

1. iisreset

2. stsadm.exe -o deactivatefeature -filename ../feature.xml -url .. -force
3. stsadm.exe -o uninstallfeature -filename ../feature.xml -force

4. iisreset

5. stsadm.exe -o installfeature -filename ../feature.xml -force
6. stsadm.exe -o activatefeature -filename ../feature.xml -url .. -force

My Question:
Where should we install feature to? if I want it to function on http://server/Test3/Nick5,
should I refer to this url in the following commandings?

BIN> stsadm.exe -o installfeature -filename "NickTest10\feature.xml" -url http://Server/Test3/Nick5" target="_new" rel="nofollow">http://Server/Test3/Nick5

Or I`d better to register it firstly into "Site Collection Features" writing like the following way:
BIN> stsadm.exe -o installfeature -filename "NickTest10\feature.xml" -url http://Server

or, Should I register it as a solution by sdk command?

Thank you so much!

Nick.
re: Auto get input in batch script. Vibhav 2008-06-27 14:33  
Yes.. it can be used for multiple questions also.
re: javascript中parseInt的问题 李小鱼 2008-05-13 14:09  
谢谢楼主,刚刚遇到了这个问题,baidu了一下就看到了你的文章,节省了好多时间,thank you!!!1
re: javascript中parseInt的问题 good 2008-05-05 19:25  
与14楼一样的感受,谢谢了
re: javascript中parseInt的问题 whut 2008-03-13 14:21  
谢谢!今天搞了很长时间,没弄明白。后来一搜,第一眼就看到博主的文章,万分感谢!
fine more question here
http://www.mypixelmarket.com
what is MSN? I am a newcomer. thank you@kh_bruno@yahoo.fr
非常感谢楼主,调试了半天,我还以为是javascript本身有毛病。
共10页: 1 2 3 4 5 6 7 8 9 下一页 末页