C# String.Format - Invalid input string

前端 未结 5 455
轮回少年
轮回少年 2021-01-12 05:11

I have a MVC3 HtmlHelper extension like this:

public static MvcHtmlString ShowInfoBar(this HtmlHelper helper, string message, InfoMessageType messageType)
           


        
5条回答
  •  抹茶落季
    2021-01-12 05:59

    I have tried as below, and its working.

    string.Format(@"ExecuteOrDelayUntilScriptLoaded(function () {{ Your function. 
    

提交回复
热议问题