首页 > 代码库 > 调用页面脚本

调用页面脚本

String cbReference = Page.ClientScript.GetCallbackEventReference(this, "vehicleNo", "UpdateVehicleInfo", null);
String callbackScript = "function CallServer(vehicleNo){ShowLoading(); " + cbReference + ";}";

Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "CallServer", callbackScript, true);

调用页面脚本