문제

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top