private void ScriptRegister(string key, string resoruceName) { if (this.Page.ClientScript.IsClientScriptBlockRegistered(key) == false) { string script = string.Format(@"<script type=""text/javascript"" src=""{0}""></script>", AssemblyResourceHandler.GetWebResourceUrl(typeof(TextBox), string.Format("SimpleFlow.WebControlLibrary.Resources.Javascript.{0}", resoruceName), string.Empty)); this.Page.ClientScript.RegisterClientScriptBlock(this.GetType(), key, script); } }
/// <summary> /// Evaluator /// </summary> /// <param name="m">Match</param> /// <returns>Evaluator</returns> public String Evaluator(Match match) { return(AssemblyResourceHandler.CreateWebResourceUrl(this.m_AssemblyName , match.Groups["fileName"].Value, this.m_TimeStamp, string.Empty)); }