调用页面脚本

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

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

posted on 2014-08-26 14:03  胖子略显瘦  阅读(111)  评论(0编辑  收藏  举报