﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-Fengzhimei@Dot.Net</title><link>http://www.cnblogs.com/fengzhimei/</link><description>Designing My Colorful Dream</description><language>zh-cn</language><lastBuildDate>Fri, 19 Mar 2010 10:47:02 GMT</lastBuildDate><pubDate>Fri, 19 Mar 2010 10:47:02 GMT</pubDate><ttl>60</ttl><item><title>The template you have chosen is invalid or cannot be found.</title><link>http://www.cnblogs.com/fengzhimei/archive/2008/11/06/1328331.html</link><dc:creator>fengzhimei</dc:creator><author>fengzhimei</author><pubDate>Thu, 06 Nov 2008 10:57:00 GMT</pubDate><guid>http://www.cnblogs.com/fengzhimei/archive/2008/11/06/1328331.html</guid><description><![CDATA[<p>阅读: 2052 评论: 1 作者: <a href="http://www.cnblogs.com/fengzhimei/" target="_blank">fengzhimei</a> 发表于 2008-11-06 18:57 <a href="http://www.cnblogs.com/fengzhimei/archive/2008/11/06/1328331.html" target="_blank">原文链接</a></p>Site template is great when migrating site, you can just save an existing site as a template and then upload it to any sites you want. Most of time, it works just as well as it should be. But occasionally, it could drive you crazy. Imaging someday, when you try to create a site from a existing site template, you receive the following error message -- <BR><BR><FONT color=#ff0000>"The template you have chosen is invalid or cannot be found."</FONT> <BR><BR>Sometimes, I hate the way how SharePoint deals with errors. First of all, the above error message doesn't make any sense, even you go to the SharePoint log files under C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOGS hive, you can hardly figure out what exactly the problem is. <BR><BR>
<DIV style="BORDER-RIGHT: gray 1px solid; BORDER-TOP: gray 1px solid; BORDER-LEFT: gray 1px solid; BORDER-BOTTOM: gray 1px solid; BACKGROUND-COLOR: #dddddd"><FONT color=#000000><EM>11/06/2008 15:37:42.22...Failed to mark site-scoped features active in site 'http://testsite:88/ts'. <BR>11/06/2008 15:37:42.24...Failed to apply template "Workspace Template.stp" to web at URL "http://testsite:88/ts". <BR>11/06/2008 15:37:42.24...Failed to apply template "Workspace Template.stp" to web at URL "http://testsite:88/ts", error The template you have chosen is invalid or cannot be found. 0x81071e44 <BR>11/06/2008 15:37:42.24...The template you have chosen is invalid or cannot be found. <BR></EM></FONT></DIV><BR>But after looking at the log, I start relizing that the issue might be related to feature activation (Seems SharePoint logs do give us a little help:)). So I looked into the manifest.xml file in the stp file (Stp file is in fact CAB file, you can simply rename and give it a CAB extension and open it using any unzip tools), and go to &lt;SiteFeatures&gt; or &lt;WebFeatures&gt; element, you can find there are a list of features under this element. Then what you need to do is compare those features with SharePoint OOB features, and remove those custom features from the list. After modifing the manifest.xml file, you can create a new cab file and rename it back with CAB extension, then you are on your way! <BR><BR><IMG src="http://www.cnblogs.com/images/cnblogs_com/fengzhimei/1472/o_invalided%20template.JPG"><BR><BR>You're probably wondering how to get a list of SharePoint OOB features, well, <A href="http://blogs.msdn.com/jjameson/archive/2008/04/08/enumerating-feature-definitions-in-wss-v3-and-moss-2007.aspx" target=_blank>there is a guy who already provided it to us</A>. For your convenience, I paste it here again. <BR><BR>
<TABLE style="BORDER-LEFT-COLOR: gray; BORDER-BOTTOM-COLOR: gray; BORDER-TOP-COLOR: gray; BORDER-RIGHT-COLOR: gray" cellSpacing=0 border=1 minmax_bound="true">
<THEAD minmax_bound="true">
<TR minmax_bound="true">
<TH style="BACKGROUND-COLOR: burlywood" minmax_bound="true">Feature Id</TH>
<TH style="BACKGROUND-COLOR: burlywood" minmax_bound="true">Display Name</TH>
<TH style="BACKGROUND-COLOR: burlywood" minmax_bound="true">Scope</TH>
<TH style="BACKGROUND-COLOR: burlywood" minmax_bound="true">Solution</TH></TR></THEAD>
<TBODY minmax_bound="true">
<TR minmax_bound="true">
<TD minmax_bound="true">99ee0928-7342-4739-865d-35b61ea4eaf0</TD>
<TD minmax_bound="true">BDCAdminUILinks</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">cdfa39c6-6413-4508-bccf-bf30368472b3</TD>
<TD minmax_bound="true">DataConnectionLibraryStapling</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">e4e6a041-bc5b-45cb-beab-885a27079f74</TD>
<TD minmax_bound="true">ExcelServer</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">a10b6aa4-135d-4598-88d1-8d4ff5691d13</TD>
<TD minmax_bound="true">ipfsAdminLinks</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">a573867a-37ca-49dc-86b0-7d033a7ed2c8</TD>
<TD minmax_bound="true">PremiumSiteStapling</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">395702f0-184c-46a2-9bb5-0a64b048738c</TD>
<TD minmax_bound="true">Analytics</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">97a2485f-ef4b-401f-9167-fa4fe177c6f6</TD>
<TD minmax_bound="true">BaseSiteStapling</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">aeef8777-70c0-429f-8a13-f12db47a6d47</TD>
<TD minmax_bound="true">BulkWorkflow</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">0f121a23-c6bc-400f-87e4-e6bbddf6916d</TD>
<TD minmax_bound="true">ContentLightup</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">fead7313-4b9e-4632-80a2-ff00a2d83297</TD>
<TD minmax_bound="true">ContentTypeSettings</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">1ec2c859-e9cb-4d79-9b2b-ea8df09ede22</TD>
<TD minmax_bound="true">DMContentTypeSettings</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">81ebc0d6-8fb2-4e3f-b2f8-062640037398</TD>
<TD minmax_bound="true">EnhancedHtmlEditing</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">0125140f-7123-4657-b70a-db9aa1f209e5</TD>
<TD minmax_bound="true">FeaturePushdown</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">4d0d9bec-5103-4663-b88d-27cfab1029ff</TD>
<TD minmax_bound="true">FeaturePushdownTask</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">319d8f70-eb3a-4b44-9c79-2087a87799d6</TD>
<TD minmax_bound="true">GlobalWebParts</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">fc33ba3b-7919-4d7e-b791-c6aeccf8f851</TD>
<TD minmax_bound="true">ListTargeting</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">8a663fe0-9d9c-45c7-8297-66365ad50427</TD>
<TD minmax_bound="true">MasterSiteDirectoryControl</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">69cc9662-d373-47fc-9449-f18d11ff732c</TD>
<TD minmax_bound="true">MySite</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">0faf7d1b-95b1-4053-b4e2-19fd5c9bbc88</TD>
<TD minmax_bound="true">MySiteCleanup</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">c922c106-7d0a-4377-a668-7f13d52cb80f</TD>
<TD minmax_bound="true">OSearchCentralAdminLinks</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">edf48246-e4ee-4638-9eed-ef3d0aee7597</TD>
<TD minmax_bound="true">OSearchPortalAdminLinks</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">fcd4c704-ed7a-42fb-ab30-2bb0ab6494c8</TD>
<TD minmax_bound="true">OSearchSRPAdminLinks</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">af847aa9-beb6-41d4-8306-78e41af9ce25</TD>
<TD minmax_bound="true">ProfileSynch</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">001f4bd7-746d-403b-aa09-a6cc43de7942</TD>
<TD minmax_bound="true">PublishingStapling</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">6d127338-5e7d-4391-8f62-a11e43b1d404</TD>
<TD minmax_bound="true">RecordsManagement</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">f324259d-393d-4305-aa48-36e8d9a7a0d6</TD>
<TD minmax_bound="true">SharedServices</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">fead7313-4b9e-4632-80a2-98a2a2d83297</TD>
<TD minmax_bound="true">SiteSettings</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">937f97e9-d7b4-473d-af17-b03951b2c66b</TD>
<TD minmax_bound="true">SkuUpgradeLinks</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">65d96c6b-649a-4169-bf1d-b96505c60375</TD>
<TD minmax_bound="true">SlideLibraryActivation</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">612d671e-f53d-4701-96da-c3a4ee00fdc5</TD>
<TD minmax_bound="true">SpellChecking</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">713a65a1-2bc7-4e62-9446-1d0b56a8bf7f</TD>
<TD minmax_bound="true">SPSDisco</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">11df38ab-5bbb-4304-9da8-221c5c4100b0</TD>
<TD minmax_bound="true">SpsSsoLinks</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">c43a587e-195b-4d29-aba8-ebb22b48eb1a</TD>
<TD minmax_bound="true">SRPProfileAdmin</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">ee21b29b-b0d0-42c6-baff-c97fd91786e6</TD>
<TD minmax_bound="true">StapledWorkflows</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">82e2ea42-39e2-4b27-8631-ed54c1cfc491</TD>
<TD minmax_bound="true">TransMgmtFunc</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">f0deabbb-b0f6-46ba-8e16-ff3b44461aeb</TD>
<TD minmax_bound="true">UserMigrator</TD>
<TD minmax_bound="true">Farm</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">e15ed6d2-4af1-4361-89d3-2acf8cd485de</TD>
<TD minmax_bound="true">ExcelServerWebApplication</TD>
<TD minmax_bound="true">WebApplication</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">0ea1c3b6-6ac0-44aa-9f3f-05e8dbe6d70b</TD>
<TD minmax_bound="true">PremiumWebApplication</TD>
<TD minmax_bound="true">WebApplication</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">4f56f9fa-51a0-420c-b707-63ecbb494db1</TD>
<TD minmax_bound="true">BaseWebApplication</TD>
<TD minmax_bound="true">WebApplication</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">d992aeca-3802-483a-ab40-6c9376300b61</TD>
<TD minmax_bound="true">BulkWorkflowTimerJob</TD>
<TD minmax_bound="true">WebApplication</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">bc29e863-ae07-4674-bd83-2c6d0aa5623f</TD>
<TD minmax_bound="true">OSearchBasicFeature</TD>
<TD minmax_bound="true">WebApplication</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">4750c984-7721-4feb-be61-c660c6190d43</TD>
<TD minmax_bound="true">OSearchEnhancedFeature</TD>
<TD minmax_bound="true">WebApplication</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">14173c38-5e2d-4887-8134-60f9df889bad</TD>
<TD minmax_bound="true">PageConverters</TD>
<TD minmax_bound="true">WebApplication</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">1dbf6063-d809-45ea-9203-d3ba4a64f86d</TD>
<TD minmax_bound="true">SearchAndProcess</TD>
<TD minmax_bound="true">WebApplication</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">2ac1da39-c101-475c-8601-122bc36e3d67</TD>
<TD minmax_bound="true">SPSearchFeature</TD>
<TD minmax_bound="true">WebApplication</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">43f41342-1a37-4372-8ca0-b44d881e4434</TD>
<TD minmax_bound="true">BizAppsCTypes</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">5a979115-6b71-45a5-9881-cdc872051a69</TD>
<TD minmax_bound="true">BizAppsFields</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">4248e21f-a816-4c88-8cab-79d82201da7b</TD>
<TD minmax_bound="true">BizAppsSiteTemplates</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">3cb475e7-4e87-45eb-a1f3-db96ad7cf313</TD>
<TD minmax_bound="true">ExcelServerSite</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">c88c4ff1-dbf5-4649-ad9f-c6c426ebcbf5</TD>
<TD minmax_bound="true">IPFSSiteFeatures</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">8581a8a7-cf16-4770-ac54-260265ddb0b2</TD>
<TD minmax_bound="true">PremiumSite</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">b21b090c-c796-4b0f-ac0f-7ef1659c20ae</TD>
<TD minmax_bound="true">BaseSite</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-1c5e-4a24-b310-ba51c3eb7a57</TD>
<TD minmax_bound="true">BasicWebParts</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">695b6570-a48b-4a8e-8ea5-26ea7fc1d162</TD>
<TD minmax_bound="true">CTypes</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">c85e5759-f323-4efb-b548-443d2216efb5</TD>
<TD minmax_bound="true">ExpirationWorkflow</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">ca7bd552-10b1-4563-85b9-5ed1d39c962a</TD>
<TD minmax_bound="true">Fields</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">fde5d850-671e-4143-950a-87b473922dc7</TD>
<TD minmax_bound="true">IssueTrackingWorkflow</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">14aafd3a-fcb9-4bb7-9ad7-d8e36b663bbd</TD>
<TD minmax_bound="true">LocalSiteDirectoryControl</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">e978b1a6-8de7-49d0-8600-09a250354e14</TD>
<TD minmax_bound="true">LocalSiteDirectorySettingsLink</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">863da2ac-3873-4930-8498-752886210911</TD>
<TD minmax_bound="true">MySiteBlog</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">49571cd1-b6a1-43a3-bf75-955acc79c8d8</TD>
<TD minmax_bound="true">MySiteHost</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">6928b0e5-5707-46a1-ae16-d6e52522d52b</TD>
<TD minmax_bound="true">MySiteLayouts</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">89e0306d-453b-4ec5-8d68-42067cdbf98e</TD>
<TD minmax_bound="true">Navigation</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">c9c9515d-e4e2-4001-9050-74f980f93160</TD>
<TD minmax_bound="true">OffWFCommon</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">7ac8cc56-d28e-41f5-ad04-d95109eb987a</TD>
<TD minmax_bound="true">OSSSearchSearchCenterUrlSiteFeature</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">5f3b0127-2f1d-4cfd-8dd2-85ad1fb00bfc</TD>
<TD minmax_bound="true">PortalLayouts</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">24d7018d-bf48-4813-a28d-dbf3dba173b1</TD>
<TD minmax_bound="true">PublishingB2TRHop2SiteFilesUpgrade</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">fd3dd145-e35e-4871-9a6d-bf17f28a1c19</TD>
<TD minmax_bound="true">PublishingB2TRSiteFilesUpgrade</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">d3f51be2-38a8-4e44-ba84-940d35be1566</TD>
<TD minmax_bound="true">PublishingLayouts</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">a392da98-270b-4e85-9769-04c0fde267aa</TD>
<TD minmax_bound="true">PublishingPrerequisites</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">aebc918d-b20f-4a11-a1db-9ed84d79c87e</TD>
<TD minmax_bound="true">PublishingResources</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">f6924d36-2fa8-4f0b-b16d-06b7250180fa</TD>
<TD minmax_bound="true">PublishingSite</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">8156ee99-ddfb-47bb-8835-7ae42d40d9b9</TD>
<TD minmax_bound="true">ReportCenterCreation</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">7094bd89-2cfe-490a-8c7e-fbace37b4a34</TD>
<TD minmax_bound="true">Reporting</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">02464c6a-9d07-4f30-ba04-e9035cf54392</TD>
<TD minmax_bound="true">ReviewWorkflows</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">eaf6a128-0482-4f71-9a2f-b1c650680e77</TD>
<TD minmax_bound="true">SearchWebParts</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">6c09612b-46af-4b2f-8dfc-59185c962a29</TD>
<TD minmax_bound="true">SignaturesWorkflow</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">c6561405-ea03-40a9-a57f-f25472942a22</TD>
<TD minmax_bound="true">TranslationWorkflow</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">7c637b23-06c4-472d-9a9a-7c175762c5c4</TD>
<TD minmax_bound="true">ViewFormPagesLockDown</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">2ed1c45e-a73b-4779-ae81-1524e4de467a</TD>
<TD minmax_bound="true">WebPartAdderGroups</TD>
<TD minmax_bound="true">Site</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">d250636f-0a26-4019-8425-a5232d592c09</TD>
<TD minmax_bound="true">AddDashboard</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">065c78be-5231-477e-a972-14177cc5b3c7</TD>
<TD minmax_bound="true">BizAppsListTemplates</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-dbd7-4f72-b8cb-da7ac0440130</TD>
<TD minmax_bound="true">DataConnectionLibrary</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">750b8e49-5213-4816-9fa2-082900c0201a</TD>
<TD minmax_bound="true">IPFSAdminWeb</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">a0e5a010-1329-49d4-9e09-f280cdbed37d</TD>
<TD minmax_bound="true">IPFSWebFeatures</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">0806d127-06e6-447a-980e-2e90b03101b8</TD>
<TD minmax_bound="true">PremiumWeb</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">2510d73f-7109-4ccc-8a1c-314894deeb3a</TD>
<TD minmax_bound="true">ReportListTemplate</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">Microsoft.Office.Excel.Server</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">fead7313-ae6d-45dd-8260-13b563cb4c71</TD>
<TD minmax_bound="true">AdminLinks</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">56dd7fe7-a155-4283-b5e6-6147560601ee</TD>
<TD minmax_bound="true">AnalyticsLinks</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-d1ce-42de-9c63-a44004ce0104</TD>
<TD minmax_bound="true">AnnouncementsList</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">99fe402e-89a0-45aa-9163-85342e865dc8</TD>
<TD minmax_bound="true">BaseWeb</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">3f59333f-4ce1-406d-8a97-9ecb0ff0337f</TD>
<TD minmax_bound="true">BDR</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-7e6d-4186-9ba8-c047ac750105</TD>
<TD minmax_bound="true">ContactsList</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-de22-43b2-a848-c05709900100</TD>
<TD minmax_bound="true">CustomList</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-f381-423d-b9d1-da7a54c50110</TD>
<TD minmax_bound="true">DataSourceLibrary</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">ca2543e6-29a1-40c1-bba9-bd8510a4c17b</TD>
<TD minmax_bound="true">DeploymentLinks</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-6a49-43fa-b535-d15c05500108</TD>
<TD minmax_bound="true">DiscussionsList</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-e717-4e80-aa17-d0c71b360101</TD>
<TD minmax_bound="true">DocumentLibrary</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-ec85-4903-972d-ebe475780106</TD>
<TD minmax_bound="true">EventsList</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-513d-4ca0-96c2-6a47775c0119</TD>
<TD minmax_bound="true">GanttTasksList</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">5b1e6e3b-83c2-483b-8500-16a025777ed1</TD>
<TD minmax_bound="true">GradualUpgrade</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-3a1d-41d3-a0ee-651d11570120</TD>
<TD minmax_bound="true">GridList</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">9e56487c-795a-4077-9425-54a1ecb84282</TD>
<TD minmax_bound="true">Hold</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-5932-4f9c-ad71-1557e5751100</TD>
<TD minmax_bound="true">IssuesList</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">6e53dd27-98f2-4ae5-85a0-e9a8ef4aa6df</TD>
<TD minmax_bound="true">LegacyDocumentLibrary</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-2062-426c-90bf-714c59600103</TD>
<TD minmax_bound="true">LinksList</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">8f15b342-80b1-4508-8641-0751e2b55ca6</TD>
<TD minmax_bound="true">LocalSiteDirectoryMetaData</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">7fe16263-b3fd-454f-a3e8-ed05fdf2adb6</TD>
<TD minmax_bound="true">MigrationLinks</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">f41cc668-37e5-4743-b4a8-74d1db3fd8a4</TD>
<TD minmax_bound="true">MobilityRedirect</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">6adff05c-d581-4c05-a6b9-920f15ec6fd9</TD>
<TD minmax_bound="true">MySiteNavigation</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">034947cc-c424-47cd-a8d1-6014f0e36925</TD>
<TD minmax_bound="true">MySiteQuickLaunch</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">541f5f57-c847-4e16-b59a-b31e90e6f9ea</TD>
<TD minmax_bound="true">NavigationProperties</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-f600-43f6-a895-40c0de7b0117</TD>
<TD minmax_bound="true">NoCodeWorkflowLibrary</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">068f8656-bea6-4d60-a5fa-7f077f8f5c20</TD>
<TD minmax_bound="true">OsrvLinks</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">0b4aad40-406f-425c-bdd9-5894c42cffcb</TD>
<TD minmax_bound="true">OsrvTasks</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">10bdac29-a21a-47d9-9dff-90c7cae1301e</TD>
<TD minmax_bound="true">OssNavigation</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">7acfcb9d-8e8f-4979-af7e-8aed7e95245e</TD>
<TD minmax_bound="true">OSSSearchSearchCenterUrlFeature</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-52d4-45b3-b544-b1c71b620109</TD>
<TD minmax_bound="true">PictureLibrary</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">22a9ef51-737b-4ff2-9346-694633fe4416</TD>
<TD minmax_bound="true">Publishing</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">94c94ca6-b32f-4da9-a9e3-1f3d343d7ecb</TD>
<TD minmax_bound="true">PublishingWeb</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">306936fd-9806-4478-80d1-7e397bfa6474</TD>
<TD minmax_bound="true">RedirectPageContentTypeBinding</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">e8734bb6-be8e-48a1-b036-5a40ff0b8a81</TD>
<TD minmax_bound="true">RelatedLinksScopeSettingsLink</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">c5d947d6-b0a2-4e07-9929-8e54f5a9fff9</TD>
<TD minmax_bound="true">ReportCenterSampleData</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">a311bf68-c990-4da3-89b3-88989a3d7721</TD>
<TD minmax_bound="true">SitesList</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">0be49fe9-9bc9-409d-abf9-702753bd878d</TD>
<TD minmax_bound="true">SlideLibrary</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-eb8a-40b1-80c7-506be7590102</TD>
<TD minmax_bound="true">SurveysList</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-a83e-497e-9ba0-7a5c597d0107</TD>
<TD minmax_bound="true">TasksList</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-4ea5-48d4-a4ad-7ea5c011abe5</TD>
<TD minmax_bound="true">TeamCollab</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">29d85c25-170c-4df9-a641-12db0b9d4130</TD>
<TD minmax_bound="true">TransMgmtLib</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">2fa4db13-4109-4a1d-b47c-c7991d4cc934</TD>
<TD minmax_bound="true">UpgradeOnlyFile</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-c796-4402-9f2f-0eb9a6e71b18</TD>
<TD minmax_bound="true">WebPageLibrary</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">8c6a6980-c3d9-440e-944c-77f93bc65a7e</TD>
<TD minmax_bound="true">WikiWelcome</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-4ea5-48d4-a4ad-305cf7030140</TD>
<TD minmax_bound="true">WorkflowHistoryList</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-2d77-4a75-9fca-76516689e21a</TD>
<TD minmax_bound="true">workflowProcessList</TD>
<TD minmax_bound="true">Web</TD>
<TD minmax_bound="true">&nbsp;</TD></TR>
<TR minmax_bound="true">
<TD minmax_bound="true">00bfea71-1e1d-4562-b56a-f05371bb0115</TD>
<TD minmax_bound="true">XmlFormLibrary</TD>
<TD minmax_bound="true">Web</TD></TR></TBODY></TABLE><BR>Someone's maybe wondering, "Why you not just deactive the feature from the site and then save it as a template", to be honest, that site template is took from a running production environment, I don't have enough permission to do that and our customers don't willing to take the risk to deactive those features from a production environment. It's not that useful for most of cases, but when one day you&nbsp;were&nbsp;in the same situation as I was, then you would give me a hug:). 
<DIV></DIV><img src="http://www.cnblogs.com/fengzhimei/aggbug/1328331.html?type=1" width="1" height="1" alt=""/><p>评论: 1　<a href="http://www.cnblogs.com/fengzhimei/archive/2008/11/06/1328331.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/fengzhimei/archive/2008/11/06/1328331.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59182/" target="_blank">地盘被HTML5蚕食 Adobe Flash前途堪忧</a><span style="color:gray">(2010-03-19 17:41)</span><br/>· <a href="http://news.cnblogs.com/n/59181/" target="_blank">微软云计算版Exchange默认邮箱容量增至25GB</a><span style="color:gray">(2010-03-19 17:39)</span><br/>· <a href="http://news.cnblogs.com/n/59180/" target="_blank">微软：早期Bing概念设计概览</a><span style="color:gray">(2010-03-19 17:37)</span><br/>· <a href="http://news.cnblogs.com/n/59177/" target="_blank">梅德韦杰夫总统宣布俄罗斯建本国“硅谷”</a><span style="color:gray">(2010-03-19 16:34)</span><br/>· <a href="http://news.cnblogs.com/n/59175/" target="_blank">闾丘露薇：参观两间“小”公司</a><span style="color:gray">(2010-03-19 16:27)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59093/" target="_blank">[视频]想做你的Code</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>CSS trick : text-transform</title><link>http://www.cnblogs.com/fengzhimei/archive/2006/08/03/466670.html</link><dc:creator>fengzhimei</dc:creator><author>fengzhimei</author><pubDate>Thu, 03 Aug 2006 05:10:00 GMT</pubDate><guid>http://www.cnblogs.com/fengzhimei/archive/2006/08/03/466670.html</guid><description><![CDATA[<p>阅读: 639 评论: 0 作者: <a href="http://www.cnblogs.com/fengzhimei/" target="_blank">fengzhimei</a> 发表于 2006-08-03 13:10 <a href="http://www.cnblogs.com/fengzhimei/archive/2006/08/03/466670.html" target="_blank">原文链接</a></p><STRONG><FONT size=4>Syntax:</FONT></STRONG><BR>text-transform: capitalize | uppercase | lowercase | none | inherit<BR><BR><STRONG><FONT size=4>Example:</FONT></STRONG><BR><BR>Uppercases the first letter of every word. 
<P>
<DIV contentEditable=true style="BORDER-RIGHT: blue 1px solid; BORDER-TOP: blue 1px solid; TEXT-TRANSFORM: capitalize; BORDER-LEFT: blue 1px solid; BORDER-BOTTOM: blue 1px solid; BACKGROUND-COLOR: #cccccc">Uppercases the first letter</DIV><BR>All text in the section is forced to upper case. </P>
<P>
<DIV contentEditable=true style="BORDER-RIGHT: blue 1px solid; BORDER-TOP: blue 1px solid; TEXT-TRANSFORM: uppercase; BORDER-LEFT: blue 1px solid; BORDER-BOTTOM: blue 1px solid; BACKGROUND-COLOR: #cccccc">Uppercases all letters</DIV><BR>All text in the section is forced to lower case. </P>
<P>
<DIV contentEditable=true style="BORDER-RIGHT: blue 1px solid; BORDER-TOP: blue 1px solid; TEXT-TRANSFORM: lowercase; BORDER-LEFT: blue 1px solid; BORDER-BOTTOM: blue 1px solid; BACKGROUND-COLOR: #cccccc">Lowcases all letters</DIV></P><img src="http://www.cnblogs.com/fengzhimei/aggbug/466670.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/fengzhimei/archive/2006/08/03/466670.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/fengzhimei/archive/2006/08/03/466670.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59182/" target="_blank">地盘被HTML5蚕食 Adobe Flash前途堪忧</a><span style="color:gray">(2010-03-19 17:41)</span><br/>· <a href="http://news.cnblogs.com/n/59181/" target="_blank">微软云计算版Exchange默认邮箱容量增至25GB</a><span style="color:gray">(2010-03-19 17:39)</span><br/>· <a href="http://news.cnblogs.com/n/59180/" target="_blank">微软：早期Bing概念设计概览</a><span style="color:gray">(2010-03-19 17:37)</span><br/>· <a href="http://news.cnblogs.com/n/59177/" target="_blank">梅德韦杰夫总统宣布俄罗斯建本国“硅谷”</a><span style="color:gray">(2010-03-19 16:34)</span><br/>· <a href="http://news.cnblogs.com/n/59175/" target="_blank">闾丘露薇：参观两间“小”公司</a><span style="color:gray">(2010-03-19 16:27)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59093/" target="_blank">[视频]想做你的Code</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>Site Definition KickStart Project</title><link>http://www.cnblogs.com/fengzhimei/archive/2006/07/31/464004.html</link><dc:creator>fengzhimei</dc:creator><author>fengzhimei</author><pubDate>Mon, 31 Jul 2006 06:09:00 GMT</pubDate><guid>http://www.cnblogs.com/fengzhimei/archive/2006/07/31/464004.html</guid><description><![CDATA[<p>阅读: 724 评论: 0 作者: <a href="http://www.cnblogs.com/fengzhimei/" target="_blank">fengzhimei</a> 发表于 2006-07-31 14:09 <a href="http://www.cnblogs.com/fengzhimei/archive/2006/07/31/464004.html" target="_blank">原文链接</a></p>I just saw a good resource about customing SharePoint 2007 on <A href="http://blogs.msdn.com/mikefitz/archive/2005/06/10/427715.aspx">Mike Fitzmaurice's blog</A>, if you are insterested in how to create site definitions in MOSS 2007, you probably don't want to miss it.<BR><BR>You can download whole project from <A href="http://www.gotdotnet.com/workspaces/workspace.aspx?id=0da873e9-3ab0-461d-8c3f-c5fb62230765">here</A>.<BR><BR>In addition, this project is depend on NAnt.SharePoint, you can get it from <A href="http://www.gotdotnet.com/Workspaces/Workspace.aspx?id=69fcc7ae-6e5a-4bd7-9c95-06797bf854dd">here</A>.<img src="http://www.cnblogs.com/fengzhimei/aggbug/464004.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/fengzhimei/archive/2006/07/31/464004.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/fengzhimei/archive/2006/07/31/464004.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59182/" target="_blank">地盘被HTML5蚕食 Adobe Flash前途堪忧</a><span style="color:gray">(2010-03-19 17:41)</span><br/>· <a href="http://news.cnblogs.com/n/59181/" target="_blank">微软云计算版Exchange默认邮箱容量增至25GB</a><span style="color:gray">(2010-03-19 17:39)</span><br/>· <a href="http://news.cnblogs.com/n/59180/" target="_blank">微软：早期Bing概念设计概览</a><span style="color:gray">(2010-03-19 17:37)</span><br/>· <a href="http://news.cnblogs.com/n/59177/" target="_blank">梅德韦杰夫总统宣布俄罗斯建本国“硅谷”</a><span style="color:gray">(2010-03-19 16:34)</span><br/>· <a href="http://news.cnblogs.com/n/59175/" target="_blank">闾丘露薇：参观两间“小”公司</a><span style="color:gray">(2010-03-19 16:27)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59093/" target="_blank">[视频]想做你的Code</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>Transform between Hex and Dec in Javascript</title><link>http://www.cnblogs.com/fengzhimei/archive/2006/07/28/462335.html</link><dc:creator>fengzhimei</dc:creator><author>fengzhimei</author><pubDate>Fri, 28 Jul 2006 09:26:00 GMT</pubDate><guid>http://www.cnblogs.com/fengzhimei/archive/2006/07/28/462335.html</guid><description><![CDATA[<p>阅读: 942 评论: 0 作者: <a href="http://www.cnblogs.com/fengzhimei/" target="_blank">fengzhimei</a> 发表于 2006-07-28 17:26 <a href="http://www.cnblogs.com/fengzhimei/archive/2006/07/28/462335.html" target="_blank">原文链接</a></p><DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff">var</SPAN><SPAN style="COLOR: #000000">&nbsp;hexChars&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">0123456789ABCDEF</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top><BR><IMG id=Codehighlighter1_59_173_Open_Image onclick="this.style.display='none'; Codehighlighter1_59_173_Open_Text.style.display='none'; Codehighlighter1_59_173_Closed_Image.style.display='inline'; Codehighlighter1_59_173_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_59_173_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_59_173_Closed_Text.style.display='none'; Codehighlighter1_59_173_Open_Image.style.display='inline'; Codehighlighter1_59_173_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">function</SPAN><SPAN style="COLOR: #000000">&nbsp;Dec2Hex&nbsp;(dec)&nbsp;</SPAN><SPAN id=Codehighlighter1_59_173_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_59_173_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">var</SPAN><SPAN style="COLOR: #000000">&nbsp;a&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;dec&nbsp;</SPAN><SPAN style="COLOR: #000000">%</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">16</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">var</SPAN><SPAN style="COLOR: #000000">&nbsp;b&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;(dec&nbsp;</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">&nbsp;a)</SPAN><SPAN style="COLOR: #000000">/</SPAN><SPAN style="COLOR: #000000">16</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">var</SPAN><SPAN style="COLOR: #000000">&nbsp;hex&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">""</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;hexChars.charAt(b)&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;hexChars.charAt(a);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000">&nbsp;hex;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top><BR><IMG id=Codehighlighter1_198_226_Open_Image onclick="this.style.display='none'; Codehighlighter1_198_226_Open_Text.style.display='none'; Codehighlighter1_198_226_Closed_Image.style.display='inline'; Codehighlighter1_198_226_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_198_226_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_198_226_Closed_Text.style.display='none'; Codehighlighter1_198_226_Open_Image.style.display='inline'; Codehighlighter1_198_226_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">function</SPAN><SPAN style="COLOR: #000000">&nbsp;Hex2Dec(hex)&nbsp;</SPAN><SPAN id=Codehighlighter1_198_226_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_198_226_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000">&nbsp;parseInt(hex,</SPAN><SPAN style="COLOR: #000000">16</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN></DIV><img src="http://www.cnblogs.com/fengzhimei/aggbug/462335.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/fengzhimei/archive/2006/07/28/462335.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/fengzhimei/archive/2006/07/28/462335.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59182/" target="_blank">地盘被HTML5蚕食 Adobe Flash前途堪忧</a><span style="color:gray">(2010-03-19 17:41)</span><br/>· <a href="http://news.cnblogs.com/n/59181/" target="_blank">微软云计算版Exchange默认邮箱容量增至25GB</a><span style="color:gray">(2010-03-19 17:39)</span><br/>· <a href="http://news.cnblogs.com/n/59180/" target="_blank">微软：早期Bing概念设计概览</a><span style="color:gray">(2010-03-19 17:37)</span><br/>· <a href="http://news.cnblogs.com/n/59177/" target="_blank">梅德韦杰夫总统宣布俄罗斯建本国“硅谷”</a><span style="color:gray">(2010-03-19 16:34)</span><br/>· <a href="http://news.cnblogs.com/n/59175/" target="_blank">闾丘露薇：参观两间“小”公司</a><span style="color:gray">(2010-03-19 16:27)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59093/" target="_blank">[视频]想做你的Code</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>Visual Studio 2005 Web Application Projects Template</title><link>http://www.cnblogs.com/fengzhimei/archive/2006/07/26/460315.html</link><dc:creator>fengzhimei</dc:creator><author>fengzhimei</author><pubDate>Wed, 26 Jul 2006 09:38:00 GMT</pubDate><guid>http://www.cnblogs.com/fengzhimei/archive/2006/07/26/460315.html</guid><description><![CDATA[<p>阅读: 718 评论: 1 作者: <a href="http://www.cnblogs.com/fengzhimei/" target="_blank">fengzhimei</a> 发表于 2006-07-26 17:38 <a href="http://www.cnblogs.com/fengzhimei/archive/2006/07/26/460315.html" target="_blank">原文链接</a></p><DIV style="BORDER-RIGHT: #000000 1px solid; PADDING-RIGHT: 8pt; BORDER-TOP: #000000 1px solid; PADDING-LEFT: 8pt; PADDING-BOTTOM: 4pt; MARGIN: 3px 2pt 2pt 5px; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid; BACKGROUND-COLOR: #ddddcc"><EM><BR>Web Application Projects provide a companion web project model that can be used as an alternative to the built-in Web Site Project in Visual Studio 2005. This new model is ideal for web site developers who are converting a Visual Studio .Net 2003 web project to Visual Studio 2005.</EM> 
<P></P></DIV><BR>&nbsp;Now, you can create a web project in VS.NET 2005 just like you did in VS.NET 2003 before.<BR><BR>&nbsp;<A href="http://download.microsoft.com/download/9/0/6/906064ce-0bd1-4328-af40-49dca1aef87c/WebApplicationProjectSetup.msi"><IMG style="VERTICAL-ALIGN: middle" height=49 alt="" src="http://lab.msdn.microsoft.com/express/art/ExpressDL.gif" width=47 border=0>Download now</A>&nbsp;<img src="http://www.cnblogs.com/fengzhimei/aggbug/460315.html?type=1" width="1" height="1" alt=""/><p>评论: 1　<a href="http://www.cnblogs.com/fengzhimei/archive/2006/07/26/460315.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/fengzhimei/archive/2006/07/26/460315.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59182/" target="_blank">地盘被HTML5蚕食 Adobe Flash前途堪忧</a><span style="color:gray">(2010-03-19 17:41)</span><br/>· <a href="http://news.cnblogs.com/n/59181/" target="_blank">微软云计算版Exchange默认邮箱容量增至25GB</a><span style="color:gray">(2010-03-19 17:39)</span><br/>· <a href="http://news.cnblogs.com/n/59180/" target="_blank">微软：早期Bing概念设计概览</a><span style="color:gray">(2010-03-19 17:37)</span><br/>· <a href="http://news.cnblogs.com/n/59177/" target="_blank">梅德韦杰夫总统宣布俄罗斯建本国“硅谷”</a><span style="color:gray">(2010-03-19 16:34)</span><br/>· <a href="http://news.cnblogs.com/n/59175/" target="_blank">闾丘露薇：参观两间“小”公司</a><span style="color:gray">(2010-03-19 16:27)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59093/" target="_blank">[视频]想做你的Code</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>Overcome limitation of activate ActiveX control in IE</title><link>http://www.cnblogs.com/fengzhimei/archive/2006/07/12/448836.html</link><dc:creator>fengzhimei</dc:creator><author>fengzhimei</author><pubDate>Wed, 12 Jul 2006 06:17:00 GMT</pubDate><guid>http://www.cnblogs.com/fengzhimei/archive/2006/07/12/448836.html</guid><description><![CDATA[<p>阅读: 625 评论: 0 作者: <a href="http://www.cnblogs.com/fengzhimei/" target="_blank">fengzhimei</a> 发表于 2006-07-12 14:17 <a href="http://www.cnblogs.com/fengzhimei/archive/2006/07/12/448836.html" target="_blank">原文链接</a></p>After installing the <A href="http://www.microsoft.com/downloads/details.aspx?amp;amp;amp;displaylang=en&amp;familyid=4196F9BE-9022-4AD6-9F4B-5359318FA8BF&amp;displaylang=en">ActiveX update patch</A>, some webpages which contain some ActiveX controls (such as media player) will require users to manually activate&nbsp;such controls by clicking on it or using the TAB key and ENTER key, this is by design for security reason.<BR><BR><IMG alt="" hspace=0 src="http://www.cnblogs.com/images/cnblogs_com/fengzhimei/1472/o_68101_tooltip.jpg" align=baseline border=0><BR><BR>But Microsoft has a workaround as well, the key point is load ActiveX&nbsp;controls from external script files. By using <A href="http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/write.asp">document.write</A>, <A href="http://msdn.microsoft.com/workshop/author/dhtml/reference/methods/createelement.asp">document.createElement</A> or <A href="http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/innerhtml.asp">innerHTML</A>, we can bypass this kind of limitation easily.<BR><BR>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #008000">&lt;!--</SPAN><SPAN style="COLOR: #008000">&nbsp;HTML&nbsp;File&nbsp;</SPAN><SPAN style="COLOR: #008000">--&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">html</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">body&nbsp;</SPAN><SPAN style="COLOR: #ff0000">leftmargin</SPAN><SPAN style="COLOR: #0000ff">=0&nbsp;</SPAN><SPAN style="COLOR: #ff0000">topmargin</SPAN><SPAN style="COLOR: #0000ff">=0&nbsp;</SPAN><SPAN style="COLOR: #ff0000">scroll</SPAN><SPAN style="COLOR: #0000ff">=no</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">script&nbsp;</SPAN><SPAN style="COLOR: #ff0000">src</SPAN><SPAN style="COLOR: #0000ff">="ActiveXCtl.js"</SPAN><SPAN style="COLOR: #0000ff">&gt;&lt;/</SPAN><SPAN style="COLOR: #800000">script</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">body</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">html</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN></DIV><BR>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">ActiveXCtl.js</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">document.write('</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">object&nbsp;classid</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000">');<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>document.write('</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">param&nbsp;name</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">URL</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;value</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">example.wmv</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000">');<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>document.write('</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">param&nbsp;name</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">autoStart</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;value</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">-1</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&gt;&lt;/</SPAN><SPAN style="COLOR: #000000">object</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000">');</SPAN></DIV><BR>Refer to this <A href="http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/activating_activex.asp">MSDN article</A> for detail. <img src="http://www.cnblogs.com/fengzhimei/aggbug/448836.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/fengzhimei/archive/2006/07/12/448836.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/fengzhimei/archive/2006/07/12/448836.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59182/" target="_blank">地盘被HTML5蚕食 Adobe Flash前途堪忧</a><span style="color:gray">(2010-03-19 17:41)</span><br/>· <a href="http://news.cnblogs.com/n/59181/" target="_blank">微软云计算版Exchange默认邮箱容量增至25GB</a><span style="color:gray">(2010-03-19 17:39)</span><br/>· <a href="http://news.cnblogs.com/n/59180/" target="_blank">微软：早期Bing概念设计概览</a><span style="color:gray">(2010-03-19 17:37)</span><br/>· <a href="http://news.cnblogs.com/n/59177/" target="_blank">梅德韦杰夫总统宣布俄罗斯建本国“硅谷”</a><span style="color:gray">(2010-03-19 16:34)</span><br/>· <a href="http://news.cnblogs.com/n/59175/" target="_blank">闾丘露薇：参观两间“小”公司</a><span style="color:gray">(2010-03-19 16:27)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59093/" target="_blank">[视频]想做你的Code</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>"Suggested Web Parts" in SharePoint 2007 Web Part picker page.</title><link>http://www.cnblogs.com/fengzhimei/archive/2006/07/05/443568.html</link><dc:creator>fengzhimei</dc:creator><author>fengzhimei</author><pubDate>Wed, 05 Jul 2006 09:20:00 GMT</pubDate><guid>http://www.cnblogs.com/fengzhimei/archive/2006/07/05/443568.html</guid><description><![CDATA[<p>阅读: 1314 评论: 2 作者: <a href="http://www.cnblogs.com/fengzhimei/" target="_blank">fengzhimei</a> 发表于 2006-07-05 17:20 <a href="http://www.cnblogs.com/fengzhimei/archive/2006/07/05/443568.html" target="_blank">原文链接</a></p><P>When we click the "Add a Web Part" button in page design mode, it will open a Web Part picker page. By default, this page will display as two groups, one is "Lists and Libraries" group, and the other is "All Web Parts" group.</P>
<P>In fact, there is still a "always on top" group called "Suggested Web Parts", according to my understanding, "Suggested Web Parts" means those Web Parts which will be frequently used. <BR></P>
<P><IMG alt="" hspace=0 src="http://www.cnblogs.com/images/cnblogs_com/fengzhimei/1472/o_wppicker.gif" align=baseline border=0><BR><BR>But how can we put some Web Parts into this group when picker window opened? Actually, Microsoft.SharePoint.WebPartPages.WebPartZone has a "QuickAdd-GroupNames" property, And every Web Part in the Web Part Gallery page has a "Quick Add Groups" field, if these two properties totally match up, then those Web Parts will be added to the "Suggested Web Parts" group. <BR><BR><IMG alt="" hspace=0 src="http://www.cnblogs.com/images/cnblogs_com/fengzhimei/1472/o_wpg.gif" align=baseline border=0><BR><BR><IMG alt="" hspace=0 src="http://www.cnblogs.com/images/cnblogs_com/fengzhimei/1472/o_wpsd.gif" align=baseline border=0><BR></P><img src="http://www.cnblogs.com/fengzhimei/aggbug/443568.html?type=1" width="1" height="1" alt=""/><p>评论: 2　<a href="http://www.cnblogs.com/fengzhimei/archive/2006/07/05/443568.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/fengzhimei/archive/2006/07/05/443568.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59182/" target="_blank">地盘被HTML5蚕食 Adobe Flash前途堪忧</a><span style="color:gray">(2010-03-19 17:41)</span><br/>· <a href="http://news.cnblogs.com/n/59181/" target="_blank">微软云计算版Exchange默认邮箱容量增至25GB</a><span style="color:gray">(2010-03-19 17:39)</span><br/>· <a href="http://news.cnblogs.com/n/59180/" target="_blank">微软：早期Bing概念设计概览</a><span style="color:gray">(2010-03-19 17:37)</span><br/>· <a href="http://news.cnblogs.com/n/59177/" target="_blank">梅德韦杰夫总统宣布俄罗斯建本国“硅谷”</a><span style="color:gray">(2010-03-19 16:34)</span><br/>· <a href="http://news.cnblogs.com/n/59175/" target="_blank">闾丘露薇：参观两间“小”公司</a><span style="color:gray">(2010-03-19 16:27)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59093/" target="_blank">[视频]想做你的Code</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>Extend toolbar of HtmlEditor in SharePoint 2007</title><link>http://www.cnblogs.com/fengzhimei/archive/2006/07/05/443358.html</link><dc:creator>fengzhimei</dc:creator><author>fengzhimei</author><pubDate>Wed, 05 Jul 2006 07:09:00 GMT</pubDate><guid>http://www.cnblogs.com/fengzhimei/archive/2006/07/05/443358.html</guid><description><![CDATA[<p>阅读: 1948 评论: 12 作者: <a href="http://www.cnblogs.com/fengzhimei/" target="_blank">fengzhimei</a> 发表于 2006-07-05 15:09 <a href="http://www.cnblogs.com/fengzhimei/archive/2006/07/05/443358.html" target="_blank">原文链接</a></p><P>In SharePoint 2007, there is a handy WYSIWYG editor you can use to format html content stored in MOSS 2007(text, images, tables etc). By default, it provide many features (Showed in below screenshot) to us, like font styles, paragraph styles, tables, reuseable content ect. Besides these OOTB features, we can customize it to add our features as well. <BR><BR><IMG alt="" hspace=0 src="http://www.cnblogs.com/images/cnblogs_com/fengzhimei/1472/o_toolbar.gif" align=baseline border=0></P>
<P>Today, I'm gonna show you how to extend the toolbar. For demonstration, I will add a command button into the toolbar, it will add an &lt;HR&gt; html tag into the editor when users click the button. Okay, here we go.</P>
<P><STRONG>1.</STRONG> Open up SharePoint designer and open a site, then locate to "_catalogs/masterpage(Master Page Gallery)/Editing Menu(Master Page Gallery)". <BR><BR><IMG alt="" hspace=0 src="http://www.cnblogs.com/images/cnblogs_com/fengzhimei/1472/o_sdfl.gif" align=baseline border=0><BR><BR>Open RTE2ToolbarExtension.xml file in this folder to edit. By default, this file should look like:</P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff">&lt;?</SPAN><SPAN style="COLOR: #ff00ff">xml&nbsp;version="1.0"&nbsp;encoding="utf-8"&nbsp;</SPAN><SPAN style="COLOR: #0000ff">?&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">RTE2ToolbarExtensions</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">RTE2ToolbarExtensions</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN></DIV>
<P dir=ltr style="MARGIN-RIGHT: 0px"><BR>To customize the HtmlEditor, we need to add our declaration, after that, it should look something like:</P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><SPAN style="COLOR: #0000ff">&lt;?</SPAN><SPAN style="COLOR: #ff00ff">xml&nbsp;version="1.0"&nbsp;encoding="utf-8"&nbsp;</SPAN><SPAN style="COLOR: #0000ff">?&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">RTE2ToolbarExtensions</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR>&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">RTE2ToolbarExtraButton&nbsp;</SPAN><SPAN style="COLOR: #ff0000">id</SPAN><SPAN style="COLOR: #0000ff">="CustomButton"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;src</SPAN><SPAN style="COLOR: #0000ff">="HtmlEditorBtnEx.js"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR></SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">RTE2ToolbarExtensions</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN></DIV>
<P dir=ltr style="MARGIN-RIGHT: 0px"><STRONG>2.</STRONG> Create a new HtmlEditorBtnEx.js file and place it under C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033 folder. Add below codes in the .js file we just created.</P>
<P dir=ltr style="MARGIN-RIGHT: 0px"></P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><SPAN style="COLOR: #0000ff">function</SPAN><SPAN style="COLOR: #000000">&nbsp;HRButton_OnClick(strBaseElementID,&nbsp;arguments)<BR>{<BR>&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: #0000ff">var</SPAN><SPAN style="COLOR: #000000">&nbsp;docEditor</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">RTE_GetEditorDocument(strBaseElementID);<BR>&nbsp;&nbsp;&nbsp;&nbsp; docEditor.execCommand(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">InsertHorizontalRule</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR>}<BR><BR></SPAN><SPAN style="COLOR: #0000ff">function</SPAN><SPAN style="COLOR: #000000">&nbsp;HRButton_OnResetState(strBaseElementID,&nbsp;arguments)<BR>{<BR>&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">true</SPAN><SPAN style="COLOR: #000000">;<BR>}<BR><BR>RTE2_RegisterToolbarButton(<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">HR_Button</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RTE_GetServerRelativeImageUrl(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">horizontalRule.gif</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">),<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: #000000">""</SPAN><SPAN style="COLOR: #000000">,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">Insert&nbsp;&lt;HR&gt;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HRButton_OnClick,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HRButton_OnResetState,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;Array(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">p1</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">p2</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">p3</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">));</SPAN></DIV>
<P dir=ltr style="MARGIN-RIGHT: 0px">HRButton_OnClick is the function which will be called when the button is clicked. <BR>HRButton_OnResetState is the function which will be called when a specific element in the editor&nbsp; is selected, you can image that it's used to change the button enable/disable status.<BR>RTE2_RegisterToolbarButton is the function which used to register our button to the toolbar, it actually comes from HtmlEditor.js. The first parameter is kinda like an ID. The second parameter is used to get button image. we have two options here, if we use RTE_GetServerRelativeImageUrl function, we need to put "horizontalRule.gif" to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033\images folder, else if we use RTE_GetServerRelativeUnlocalizedImageUrl function, we need to put "horizontalRule.gif" to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\images folder. The third parameter indicate that if we display some text beside the button image. The fourth parameter is tooltip. And we can pass some arguments from the last parameter, then we can get these arguments in HRButton_OnClick or HRButton_OnResetState function.</P>
<P>Okay, that's it, just a couple of steps:)<BR><BR><IMG alt="" hspace=0 src="http://www.cnblogs.com/images/cnblogs_com/fengzhimei/1472/o_result.gif" align=baseline border=0></P><img src="http://www.cnblogs.com/fengzhimei/aggbug/443358.html?type=1" width="1" height="1" alt=""/><p>评论: 12　<a href="http://www.cnblogs.com/fengzhimei/archive/2006/07/05/443358.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/fengzhimei/archive/2006/07/05/443358.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59182/" target="_blank">地盘被HTML5蚕食 Adobe Flash前途堪忧</a><span style="color:gray">(2010-03-19 17:41)</span><br/>· <a href="http://news.cnblogs.com/n/59181/" target="_blank">微软云计算版Exchange默认邮箱容量增至25GB</a><span style="color:gray">(2010-03-19 17:39)</span><br/>· <a href="http://news.cnblogs.com/n/59180/" target="_blank">微软：早期Bing概念设计概览</a><span style="color:gray">(2010-03-19 17:37)</span><br/>· <a href="http://news.cnblogs.com/n/59177/" target="_blank">梅德韦杰夫总统宣布俄罗斯建本国“硅谷”</a><span style="color:gray">(2010-03-19 16:34)</span><br/>· <a href="http://news.cnblogs.com/n/59175/" target="_blank">闾丘露薇：参观两间“小”公司</a><span style="color:gray">(2010-03-19 16:27)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59093/" target="_blank">[视频]想做你的Code</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>Expand querystring in URL with JavaScript</title><link>http://www.cnblogs.com/fengzhimei/archive/2006/06/12/423601.html</link><dc:creator>fengzhimei</dc:creator><author>fengzhimei</author><pubDate>Mon, 12 Jun 2006 02:02:00 GMT</pubDate><guid>http://www.cnblogs.com/fengzhimei/archive/2006/06/12/423601.html</guid><description><![CDATA[<p>阅读: 527 评论: 0 作者: <a href="http://www.cnblogs.com/fengzhimei/" target="_blank">fengzhimei</a> 发表于 2006-06-12 10:02 <a href="http://www.cnblogs.com/fengzhimei/archive/2006/06/12/423601.html" target="_blank">原文链接</a></p><P>Used to add your querystring to an URL, it can judge if the querystring you try to add is exist in the URL, if so, replace it with new value, or expand the URL.</P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff">function</SPAN><SPAN style="COLOR: #000000">&nbsp;ExpandQS(queryStringName,&nbsp;queryStringValue)<BR><IMG id=Codehighlighter1_53_1140_Open_Image onclick="this.style.display='none'; Codehighlighter1_53_1140_Open_Text.style.display='none'; Codehighlighter1_53_1140_Closed_Image.style.display='inline'; Codehighlighter1_53_1140_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_53_1140_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_53_1140_Closed_Text.style.display='none'; Codehighlighter1_53_1140_Open_Image.style.display='inline'; Codehighlighter1_53_1140_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_53_1140_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_53_1140_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">var</SPAN><SPAN style="COLOR: #000000">&nbsp;returnValue;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">var</SPAN><SPAN style="COLOR: #000000">&nbsp;currHref&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;window.location.href.substring(</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">,(window.location.href.length</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">window.location.search.length));<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">var</SPAN><SPAN style="COLOR: #000000">&nbsp;currQuery&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;window.location.search.substring(</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">var</SPAN><SPAN style="COLOR: #000000">&nbsp;args&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;currQuery.split('</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">');<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">var</SPAN><SPAN style="COLOR: #000000">&nbsp;keyValuePairs&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000">&nbsp;Object();<BR><IMG id=Codehighlighter1_340_1017_Open_Image onclick="this.style.display='none'; Codehighlighter1_340_1017_Open_Text.style.display='none'; Codehighlighter1_340_1017_Closed_Image.style.display='inline'; Codehighlighter1_340_1017_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_340_1017_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_340_1017_Closed_Text.style.display='none'; Codehighlighter1_340_1017_Open_Image.style.display='inline'; Codehighlighter1_340_1017_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">(currQuery)&nbsp;</SPAN><SPAN id=Codehighlighter1_340_1017_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_340_1017_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG id=Codehighlighter1_385_657_Open_Image onclick="this.style.display='none'; Codehighlighter1_385_657_Open_Text.style.display='none'; Codehighlighter1_385_657_Closed_Image.style.display='inline'; Codehighlighter1_385_657_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_385_657_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_385_657_Closed_Text.style.display='none'; Codehighlighter1_385_657_Open_Image.style.display='inline'; Codehighlighter1_385_657_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">for</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="COLOR: #0000ff">var</SPAN><SPAN style="COLOR: #000000">&nbsp;i</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">;&nbsp;i&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">&nbsp;args.length;&nbsp;i</SPAN><SPAN style="COLOR: #000000">++</SPAN><SPAN style="COLOR: #000000">)&nbsp;</SPAN><SPAN id=Codehighlighter1_385_657_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_385_657_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">var</SPAN><SPAN style="COLOR: #000000">&nbsp;value;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">var</SPAN><SPAN style="COLOR: #000000">&nbsp;pair&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;args[i].split('</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">');<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">var</SPAN><SPAN style="COLOR: #000000">&nbsp;name&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;unescape(pair[</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">]);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG id=Codehighlighter1_511_559_Open_Image onclick="this.style.display='none'; Codehighlighter1_511_559_Open_Text.style.display='none'; Codehighlighter1_511_559_Closed_Image.style.display='inline'; Codehighlighter1_511_559_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_511_559_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_511_559_Closed_Text.style.display='none'; Codehighlighter1_511_559_Open_Image.style.display='inline'; Codehighlighter1_511_559_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">&nbsp;(pair.length&nbsp;</SPAN><SPAN style="COLOR: #000000">==</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">2</SPAN><SPAN style="COLOR: #000000">)</SPAN><SPAN id=Codehighlighter1_511_559_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_511_559_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;value&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;unescape(pair[</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">]);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG id=Codehighlighter1_571_606_Open_Image onclick="this.style.display='none'; Codehighlighter1_571_606_Open_Text.style.display='none'; Codehighlighter1_571_606_Closed_Image.style.display='inline'; Codehighlighter1_571_606_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_571_606_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_571_606_Closed_Text.style.display='none'; Codehighlighter1_571_606_Open_Image.style.display='inline'; Codehighlighter1_571_606_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">else</SPAN><SPAN id=Codehighlighter1_571_606_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_571_606_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;value&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;name;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keyValuePairs[name]&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;value;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keyValuePairs[queryStringName]&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;queryStringValue;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">var</SPAN><SPAN style="COLOR: #000000">&nbsp;newQuery&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">""</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR><IMG id=Codehighlighter1_809_881_Open_Image onclick="this.style.display='none'; Codehighlighter1_809_881_Open_Text.style.display='none'; Codehighlighter1_809_881_Closed_Image.style.display='inline'; Codehighlighter1_809_881_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_809_881_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_809_881_Closed_Text.style.display='none'; Codehighlighter1_809_881_Open_Image.style.display='inline'; Codehighlighter1_809_881_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">for</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="COLOR: #0000ff">var</SPAN><SPAN style="COLOR: #000000">&nbsp;key&nbsp;</SPAN><SPAN style="COLOR: #0000ff">in</SPAN><SPAN style="COLOR: #000000">&nbsp;keyValuePairs)</SPAN><SPAN id=Codehighlighter1_809_881_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_809_881_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;newQuery&nbsp;</SPAN><SPAN style="COLOR: #000000">+=</SPAN><SPAN style="COLOR: #000000">&nbsp;key&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;keyValuePairs[key]&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&amp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;newQuery&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;newQuery.substring(</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">,&nbsp;newQuery.length&nbsp;</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;returnValue&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;currHref&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">?</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;newQuery;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG id=Codehighlighter1_1027_1114_Open_Image onclick="this.style.display='none'; Codehighlighter1_1027_1114_Open_Text.style.display='none'; Codehighlighter1_1027_1114_Closed_Image.style.display='inline'; Codehighlighter1_1027_1114_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_1027_1114_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1027_1114_Closed_Text.style.display='none'; Codehighlighter1_1027_1114_Open_Image.style.display='inline'; Codehighlighter1_1027_1114_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">else</SPAN><SPAN id=Codehighlighter1_1027_1114_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_1027_1114_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;returnValue&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;currHref&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">?</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;queryStringName&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">&nbsp;queryStringValue;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000">&nbsp;returnValue;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN></DIV><BR>Hopefully, it's useful to you.<img src="http://www.cnblogs.com/fengzhimei/aggbug/423601.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/fengzhimei/archive/2006/06/12/423601.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/fengzhimei/archive/2006/06/12/423601.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59182/" target="_blank">地盘被HTML5蚕食 Adobe Flash前途堪忧</a><span style="color:gray">(2010-03-19 17:41)</span><br/>· <a href="http://news.cnblogs.com/n/59181/" target="_blank">微软云计算版Exchange默认邮箱容量增至25GB</a><span style="color:gray">(2010-03-19 17:39)</span><br/>· <a href="http://news.cnblogs.com/n/59180/" target="_blank">微软：早期Bing概念设计概览</a><span style="color:gray">(2010-03-19 17:37)</span><br/>· <a href="http://news.cnblogs.com/n/59177/" target="_blank">梅德韦杰夫总统宣布俄罗斯建本国“硅谷”</a><span style="color:gray">(2010-03-19 16:34)</span><br/>· <a href="http://news.cnblogs.com/n/59175/" target="_blank">闾丘露薇：参观两间“小”公司</a><span style="color:gray">(2010-03-19 16:27)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59093/" target="_blank">[视频]想做你的Code</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>Create a AJAX enabled WebPart for SharePoint2007 by using ASP.NET 2.0 client callback feature</title><link>http://www.cnblogs.com/fengzhimei/archive/2006/05/26/410032.html</link><dc:creator>fengzhimei</dc:creator><author>fengzhimei</author><pubDate>Fri, 26 May 2006 07:14:00 GMT</pubDate><guid>http://www.cnblogs.com/fengzhimei/archive/2006/05/26/410032.html</guid><description><![CDATA[<p>阅读: 3054 评论: 4 作者: <a href="http://www.cnblogs.com/fengzhimei/" target="_blank">fengzhimei</a> 发表于 2006-05-26 15:14 <a href="http://www.cnblogs.com/fengzhimei/archive/2006/05/26/410032.html" target="_blank">原文链接</a></p><P><FONT face=Arial>I tried to integrate </FONT><A href="http://atlas.asp.net/" target=_blank><FONT face=Arial>Atlas</FONT></A><FONT face=Arial> into WebPart a couple of days ago but failed. </FONT><A href="http://atlas.asp.net/" target=_blank><FONT face=Arial>Atlas</FONT></A><FONT face=Arial> is a great AJAX framework from Microsoft, but it isn't compatible with SharePoint 2007 for now, what a pity. </FONT></P>
<P><FONT face=Arial>But your customers always have this kind of complain, "The page will fully reload when I just click one button in the WebPart, I just wanna perform a very simple action but I have to wait until the page load complete." So, how can you handle this?</FONT></P>
<P><FONT face=Arial>As you've known, there is a built-in feature called client callback in ASP.NET 2.0, which allows you call server method from client side without causing the page refresh, and SharePoint2007 is built upon ASP.NET 2.0 framework, so we can use this feature to support AJAX in WebPart. </FONT></P>
<P><FONT face=Arial>In the following steps, I'm gonna show you how to get server date from client in a WebPart. <BR>[If you are not familiar with Client Callback feature in ASP.NET 2.0 yet, I strongly recommend you read </FONT><A href="http://www.dotnetjunkies.com/Tutorial/E80EC96F-1C32-4855-85AE-9E30EECF13D7.dcik" target=_blank><FONT face=Arial>this article</FONT></A><FONT face=Arial> first]<BR><BR>1. Start up VS.NET 2005 and create a Class Library project.<BR><BR>2. Add System.Web.dll to the project reference.<BR><BR>3. Create a Class with a name you expect, which inherit from System.Web.UI.WebControls.WebParts.WebPart and implement System.Web.UI.ICallbackEventHandler interface.<BR><BR>4. Override CreateChildControls to create some controls.<BR><BR>5.&nbsp;Override OnLoad to regist related JavaScript to client.<BR><BR>6. Override RenderContents or Render to render WebPart to browser.<BR><BR>7.&nbsp;Implement ICallbackEventHandler members.<BR><BR>The source code is here:<BR><BR></FONT></P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><FONT face=Arial><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff">using</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;System;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">using</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;System.Text;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">using</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;System.Web.UI;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">using</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;System.Web.UI.HtmlControls;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">using</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;System.Web.UI.WebControls.WebParts;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">namespace</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;SPS2007.Research.WebParts<BR><IMG id=Codehighlighter1_167_3317_Open_Image onclick="this.style.display='none'; Codehighlighter1_167_3317_Open_Text.style.display='none'; Codehighlighter1_167_3317_Closed_Image.style.display='inline'; Codehighlighter1_167_3317_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_167_3317_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_167_3317_Closed_Text.style.display='none'; Codehighlighter1_167_3317_Open_Image.style.display='inline'; Codehighlighter1_167_3317_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_167_3317_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN></FONT><SPAN id=Codehighlighter1_167_3317_Open_Text><FONT face=Arial><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">class</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;AjaxPart&nbsp;:&nbsp;WebPart,&nbsp;ICallbackEventHandler<BR><IMG id=Codehighlighter1_232_3315_Open_Image onclick="this.style.display='none'; Codehighlighter1_232_3315_Open_Text.style.display='none'; Codehighlighter1_232_3315_Closed_Image.style.display='inline'; Codehighlighter1_232_3315_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_232_3315_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_232_3315_Closed_Text.style.display='none'; Codehighlighter1_232_3315_Open_Image.style.display='inline'; Codehighlighter1_232_3315_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_232_3315_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN></FONT><SPAN id=Codehighlighter1_232_3315_Open_Text><FONT face=Arial><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">private</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">string</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;strCallResult;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">private</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;HtmlInputText&nbsp;tbResult;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">private</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;HtmlButton&nbsp;btnCall;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">public</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;AjaxPart()<BR><IMG id=Codehighlighter1_383_406_Open_Image onclick="this.style.display='none'; Codehighlighter1_383_406_Open_Text.style.display='none'; Codehighlighter1_383_406_Closed_Image.style.display='inline'; Codehighlighter1_383_406_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_383_406_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_383_406_Closed_Text.style.display='none'; Codehighlighter1_383_406_Open_Image.style.display='inline'; Codehighlighter1_383_406_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_383_406_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN></FONT><SPAN id=Codehighlighter1_383_406_Open_Text><SPAN style="COLOR: #000000"><FONT face=Arial>{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</FONT></SPAN></SPAN><SPAN style="COLOR: #000000"><BR><FONT face=Arial><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></SPAN><FONT face=Arial><SPAN style="COLOR: #0000ff">protected</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">override</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">void</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;CreateChildControls()<BR><IMG id=Codehighlighter1_471_852_Open_Image onclick="this.style.display='none'; Codehighlighter1_471_852_Open_Text.style.display='none'; Codehighlighter1_471_852_Closed_Image.style.display='inline'; Codehighlighter1_471_852_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_471_852_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_471_852_Closed_Text.style.display='none'; Codehighlighter1_471_852_Open_Image.style.display='inline'; Codehighlighter1_471_852_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_471_852_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN></FONT><SPAN id=Codehighlighter1_471_852_Open_Text><FONT face=Arial><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">base</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">.CreateChildControls();<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tbResult&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;HtmlInputText();<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tbResult.ID&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">myTextBox</SPAN><SPAN style="COLOR: #000000">"</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;btnCall&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;HtmlButton();<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;btnCall.InnerText&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">GetServerDate</SPAN><SPAN style="COLOR: #000000">"</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;btnCall.Attributes.Add(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">OnClick</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">javascript:InvokeMethod();</SPAN><SPAN style="COLOR: #000000">"</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">this</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">.Controls.Add(tbResult);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">this</SPAN></FONT><SPAN style="COLOR: #000000"><FONT face=Arial>.Controls.Add(btnCall);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</FONT></SPAN></SPAN><SPAN style="COLOR: #000000"><BR><FONT face=Arial><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></SPAN><FONT face=Arial><SPAN style="COLOR: #0000ff">protected</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">override</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">void</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;OnLoad(EventArgs&nbsp;e)<BR><IMG id=Codehighlighter1_915_2681_Open_Image onclick="this.style.display='none'; Codehighlighter1_915_2681_Open_Text.style.display='none'; Codehighlighter1_915_2681_Closed_Image.style.display='inline'; Codehighlighter1_915_2681_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_915_2681_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_915_2681_Closed_Text.style.display='none'; Codehighlighter1_915_2681_Open_Image.style.display='inline'; Codehighlighter1_915_2681_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_915_2681_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN></FONT><SPAN id=Codehighlighter1_915_2681_Open_Text><FONT face=Arial><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">&nbsp;((</SPAN><SPAN style="COLOR: #0000ff">this</SPAN><SPAN style="COLOR: #000000">.Page&nbsp;</SPAN><SPAN style="COLOR: #000000">!=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">null</SPAN><SPAN style="COLOR: #000000">)&nbsp;</SPAN><SPAN style="COLOR: #000000">&amp;&amp;</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">!</SPAN><SPAN style="COLOR: #0000ff">this</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">.Page.IsCallback)<BR><IMG id=Codehighlighter1_991_2671_Open_Image onclick="this.style.display='none'; Codehighlighter1_991_2671_Open_Text.style.display='none'; Codehighlighter1_991_2671_Closed_Image.style.display='inline'; Codehighlighter1_991_2671_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_991_2671_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_991_2671_Closed_Text.style.display='none'; Codehighlighter1_991_2671_Open_Image.style.display='inline'; Codehighlighter1_991_2671_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_991_2671_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN></FONT><SPAN id=Codehighlighter1_991_2671_Open_Text><FONT face=Arial><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ClientScriptManager&nbsp;scriptManager&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">this</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">.Page.ClientScript;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">string</SPAN><SPAN style="COLOR: #000000">&nbsp;eventRef&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;scriptManager.GetCallbackEventReference(</SPAN><SPAN style="COLOR: #0000ff">this</SPAN><SPAN style="COLOR: #000000">,&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">argVal</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">OnCallComplete</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">ctxVal</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">OnErrorOccurs</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,&nbsp;</SPAN><SPAN style="COLOR: #0000ff">true</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;StringBuilder&nbsp;sb&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">new</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;StringBuilder();<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">function&nbsp;InvokeMethod(argVal,ctxVal)</SPAN><SPAN style="COLOR: #000000">"</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(Environment.NewLine);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">{</SPAN><SPAN style="COLOR: #000000">"</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(Environment.NewLine);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(eventRef);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(Environment.NewLine);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">}</SPAN><SPAN style="COLOR: #000000">"</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(Environment.NewLine);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;HtmlInputText&nbsp;textBox&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">this</SPAN><SPAN style="COLOR: #000000">.FindControl(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">myTextBox</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">)&nbsp;</SPAN><SPAN style="COLOR: #0000ff">as</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;HtmlInputText;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">function&nbsp;OnCallComplete(result,context)</SPAN><SPAN style="COLOR: #000000">"</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(Environment.NewLine);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">{</SPAN><SPAN style="COLOR: #000000">"</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(Environment.NewLine);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">document.getElementById(\</SPAN><SPAN style="COLOR: #000000">""</SPAN><SPAN style="COLOR: #000000">&nbsp;+&nbsp;textBox.ClientID&nbsp;+&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">\</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">).value&nbsp;=&nbsp;result;</SPAN><SPAN style="COLOR: #000000">"</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(Environment.NewLine);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">}</SPAN><SPAN style="COLOR: #000000">"</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(Environment.NewLine);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">function&nbsp;OnErrorOccurs(err)</SPAN><SPAN style="COLOR: #000000">"</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(Environment.NewLine);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">{</SPAN><SPAN style="COLOR: #000000">"</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(Environment.NewLine);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">window.status&nbsp;=&nbsp;err;</SPAN><SPAN style="COLOR: #000000">"</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(Environment.NewLine);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">}</SPAN><SPAN style="COLOR: #000000">"</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sb.Append(Environment.NewLine);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scriptManager.RegisterClientScriptBlock(</SPAN><SPAN style="COLOR: #0000ff">base</SPAN><SPAN style="COLOR: #000000">.GetType(),&nbsp;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">CallBackScript</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">,&nbsp;sb.ToString(),&nbsp;</SPAN><SPAN style="COLOR: #0000ff">true</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">base</SPAN></FONT><SPAN style="COLOR: #000000"><FONT face=Arial>.OnLoad(e);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</FONT></SPAN></SPAN><SPAN style="COLOR: #000000"><BR><FONT face=Arial><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</FONT></SPAN></SPAN><SPAN style="COLOR: #000000"><BR><FONT face=Arial><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></SPAN><FONT face=Arial><SPAN style="COLOR: #0000ff">protected</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">override</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">void</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;RenderContents(HtmlTextWriter&nbsp;writer)<BR><IMG id=Codehighlighter1_2762_2894_Open_Image onclick="this.style.display='none'; Codehighlighter1_2762_2894_Open_Text.style.display='none'; Codehighlighter1_2762_2894_Closed_Image.style.display='inline'; Codehighlighter1_2762_2894_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_2762_2894_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_2762_2894_Closed_Text.style.display='none'; Codehighlighter1_2762_2894_Open_Image.style.display='inline'; Codehighlighter1_2762_2894_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_2762_2894_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN></FONT><SPAN id=Codehighlighter1_2762_2894_Open_Text><SPAN style="COLOR: #000000"><FONT face=Arial>{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EnsureChildControls();<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tbResult.RenderControl(writer);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;btnCall.RenderControl(writer);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</FONT></SPAN></SPAN><SPAN style="COLOR: #000000"><BR><FONT face=Arial><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></SPAN><FONT face=Arial><SPAN style="COLOR: #0000ff">protected</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">string</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;GetDateTime()<BR><IMG id=Codehighlighter1_2944_3010_Open_Image onclick="this.style.display='none'; Codehighlighter1_2944_3010_Open_Text.style.display='none'; Codehighlighter1_2944_3010_Closed_Image.style.display='inline'; Codehighlighter1_2944_3010_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_2944_3010_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_2944_3010_Closed_Text.style.display='none'; Codehighlighter1_2944_3010_Open_Image.style.display='inline'; Codehighlighter1_2944_3010_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_2944_3010_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN></FONT><SPAN id=Codehighlighter1_2944_3010_Open_Text><FONT face=Arial><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">return</SPAN><SPAN style="COLOR: #000000">&nbsp;DateTime.Now.ToString(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">MM/dd/yyyy</SPAN><SPAN style="COLOR: #000000">"</SPAN></FONT><SPAN style="COLOR: #000000"><FONT face=Arial>);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</FONT></SPAN></SPAN><SPAN style="COLOR: #000000"><BR><FONT face=Arial><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG id=Codehighlighter1_3021_3309_Closed_Image onclick="this.style.display='none'; Codehighlighter1_3021_3309_Closed_Text.style.display='none'; Codehighlighter1_3021_3309_Open_Image.style.display='inline'; Codehighlighter1_3021_3309_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top><IMG id=Codehighlighter1_3021_3309_Open_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_3021_3309_Open_Text.style.display='none'; Codehighlighter1_3021_3309_Closed_Image.style.display='inline'; Codehighlighter1_3021_3309_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></SPAN><SPAN id=Codehighlighter1_3021_3309_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><FONT face=Arial>Implement&nbsp;ICallbackEventHandler&nbsp;Members</FONT></SPAN><SPAN id=Codehighlighter1_3021_3309_Open_Text style="DISPLAY: none"><FONT face=Arial><SPAN style="COLOR: #0000ff">#region</SPAN><SPAN style="COLOR: #000000">&nbsp;Implement&nbsp;ICallbackEventHandler&nbsp;Members</SPAN></FONT><SPAN style="COLOR: #000000"><BR><FONT face=Arial><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></SPAN><FONT face=Arial><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">string</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;GetCallbackResult()<BR><IMG id=Codehighlighter1_3120_3164_Open_Image onclick="this.style.display='none'; Codehighlighter1_3120_3164_Open_Text.style.display='none'; Codehighlighter1_3120_3164_Closed_Image.style.display='inline'; Codehighlighter1_3120_3164_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_3120_3164_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_3120_3164_Closed_Text.style.display='none'; Codehighlighter1_3120_3164_Open_Image.style.display='inline'; Codehighlighter1_3120_3164_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_3120_3164_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN></FONT><SPAN id=Codehighlighter1_3120_3164_Open_Text><FONT face=Arial><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">return</SPAN></FONT><SPAN style="COLOR: #000000"><FONT face=Arial>&nbsp;strCallResult;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</FONT></SPAN></SPAN><SPAN style="COLOR: #000000"><BR><FONT face=Arial><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></SPAN><FONT face=Arial><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000">&nbsp;RaiseCallbackEvent(</SPAN><SPAN style="COLOR: #0000ff">string</SPAN></FONT><FONT face=Arial><SPAN style="COLOR: #000000">&nbsp;eventArgument)<BR><IMG id=Codehighlighter1_3236_3289_Open_Image onclick="this.style.display='none'; Codehighlighter1_3236_3289_Open_Text.style.display='none'; Codehighlighter1_3236_3289_Closed_Image.style.display='inline'; Codehighlighter1_3236_3289_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_3236_3289_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_3236_3289_Closed_Text.style.display='none'; Codehighlighter1_3236_3289_Open_Image.style.display='inline'; Codehighlighter1_3236_3289_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_3236_3289_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN></FONT><SPAN id=Codehighlighter1_3236_3289_Open_Text><FONT face=Arial><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;strCallResult&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN></FONT><SPAN style="COLOR: #000000"><FONT face=Arial>&nbsp;GetDateTime();<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</FONT></SPAN></SPAN><SPAN style="COLOR: #000000"><BR><FONT face=Arial><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></SPAN><SPAN style="COLOR: #0000ff"><FONT face=Arial>#endregion</FONT></SPAN></SPAN><SPAN style="COLOR: #000000"><BR><FONT face=Arial><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;}</FONT></SPAN></SPAN><SPAN style="COLOR: #000000"><BR><FONT face=Arial><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</FONT></SPAN></SPAN><SPAN style="COLOR: #000000"><BR><FONT face=Arial><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></FONT></SPAN></DIV>
<P><FONT face=Arial>Okay, That's it, you can compile the project and deploy your WebPart to sharepoint site. I will give you the instructions about how to deploy a web part if you don't know that.<BR><BR>1. Copy compiled assembly to C:\Inetpub\wwwroot\wss\VirtualDirectories\<FONT color=#ff0000>80</FONT>\_app_bin, notice that <FONT color=#ff0000>80 </FONT>is the virtual directory related to your wss site, you can find the name from IIS MMC.<BR><BR>2. Modify the web.config file under C:\Inetpub\wwwroot\wss\VirtualDirectories\80 directory, add below line to SafeControls section: </FONT></P>
<P><FONT face=Arial>&lt;SafeControl <FONT color=#ff0000>Assembly</FONT>="SPS2007.Research.WebParts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" <FONT color=#ff0000>Namespace</FONT>="SPS2007.Research.WebParts" TypeName="*" /&gt;</FONT></P>
<P><FONT face=Arial>You probably need to change <FONT color=#ff0000>Assembly</FONT> and <FONT color=#ff0000>Namespace</FONT> to accord with your assembly.</FONT></P>
<P><FONT face=Arial>3. Execute IISRESET under command line.</FONT></P>
<P><FONT face=Arial>4. Then go to Site Settings -&gt; Web parts, click 【New】go to the New Web Parts page, find your web part, click 【Populate Gallery】, after that you can add your web part to a page when you edit a page.<BR><BR></P>
<P align=center><IMG height=87 alt=o_20060526.gif src="http://www.cnblogs.com/images/cnblogs_com/fengzhimei/1472/o_20060526.gif" width=369 border=1></P></FONT><img src="http://www.cnblogs.com/fengzhimei/aggbug/410032.html?type=1" width="1" height="1" alt=""/><p>评论: 4　<a href="http://www.cnblogs.com/fengzhimei/archive/2006/05/26/410032.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/fengzhimei/archive/2006/05/26/410032.html#commentform" target="_blank">发表评论</a></p><p><a href="http://job.cnblogs.com/" target="_blank">找优秀程序员，就在博客园</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/59182/" target="_blank">地盘被HTML5蚕食 Adobe Flash前途堪忧</a><span style="color:gray">(2010-03-19 17:41)</span><br/>· <a href="http://news.cnblogs.com/n/59181/" target="_blank">微软云计算版Exchange默认邮箱容量增至25GB</a><span style="color:gray">(2010-03-19 17:39)</span><br/>· <a href="http://news.cnblogs.com/n/59180/" target="_blank">微软：早期Bing概念设计概览</a><span style="color:gray">(2010-03-19 17:37)</span><br/>· <a href="http://news.cnblogs.com/n/59177/" target="_blank">梅德韦杰夫总统宣布俄罗斯建本国“硅谷”</a><span style="color:gray">(2010-03-19 16:34)</span><br/>· <a href="http://news.cnblogs.com/n/59175/" target="_blank">闾丘露薇：参观两间“小”公司</a><span style="color:gray">(2010-03-19 16:27)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/59093/" target="_blank">[视频]想做你的Code</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item></channel></rss>