http://devnet.kentico.com/docs/10_0/api/html/R_Project_Kentico_API.htm
ScriptHelper.RegisterClientScriptBlock
https://docs.kentico.com/k10/release-notes-kentico-10
The MediaHelper, ScriptHelper and UIHelper classes were moved from the CMS.Helpers library into the new CMS.Base.Web.UI library/namespace.
https://devnet.kentico.com/documentation/api-changes/kentico-10
https://devnet.kentico.com/documentation/api-changes/kentico-10/22146
CMS.Helpers.ScriptHelper to CMS.Base.Web.UI.ScriptHelper
对比,windows本身自带了一个函数
String csName = "ButtonClickScript"; ClientScriptManager cs = Page.ClientScript; StringBuilder csText = new StringBuilder(); csText.Append("<script type="text/javascript"> function DoClick() {"); csText.Append("Form1.Message.value='Text from client script.'} </"); csText.Append("script>"); cs.RegisterClientScriptBlock(this.GetType(),csName,csText.ToString());
ValidationHelper.GetString
http://devnet.kentico.com/docs/10_0/api/html/Methods_T_CMS_Helpers_ValidationHelper.htm
CMSAbstractWebPart
from CMS.PortalControls to CMS.PortalEngine.Web.UI
System.String CMS.CMSHelper.CMSContext.GetUrl(System.String) Method
https://devnet.kentico.com/documentation/api-changes/kentico-8/3499 在kentico7升级到kentico8的时候调整的
Class method
System.String CMS.CMSHelper.CMSContext.GetUrl(System.String)
was moved to
CMS.DocumentEngine.DocumentURLProvider.GetUrl