简体   繁体   中英

JQuery Plugin in ASP.NET Web Site

I have an ASP.NET web site and I need to make a number of asp.net dropdownlist controls searchable (across a number of pages). I am using the jQuery Searchable DropDown Plugin and it works fine on one of the pages I have tested it on. My question is as follows, Should I be able to reference the plugin on the site.master and expect it to be referenced in all pages or do I have to reference it on all pages that I want to use it on?

If I have to add a reference to the plugin on each page then that is fine but if I can just add it in one place then obviously that is better. I have tried it and it didn't work for me but maybe it should work.

Thanks in advance for your help

if you have multiple pages that have master page better way is you place jquery searchable dropdown in master page for use in all pages Inherited this masterPage. otherwise if you have pages in various category and each category have separated masterPage you can place dropDown in each master page. in last state you can place dropDown in each page.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM