如何知道給定的客戶端啟動腳本是否已在asp.net頁面中注冊?

[英]How to know whether a given client-side startup script is already registered in an asp.net page?


I have a asp.net page, and would like to know whether "script1" is already registered as a startup script or not?

我有一個asp.net頁面,想知道“script1”是否已經注冊為啟動腳本?

1 个解决方案

#1


7  

Me.ClientScript.IsStartupScriptRegistered("clientScript")


注意!

本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:https://www.itdaan.com/blog/2008/09/17/729b4314238bc2188752bd13faaa241d.html



 
粤ICP备14056181号  © 2014-2020 ITdaan.com