Last post Jul 04, 2017 03:17 AM by Jean Sun
Member
399 Points
1101 Posts
Jul 03, 2017 05:20 PM|asp.ambur|LINK
Hello
I'm using this tutioral
http://www.c-sharpcorner.com/uploadfile/ca3292/autocomplete-dropdown-using-jquery-with-c-sharp/
I want this please see the screenshot
Contributor
6490 Points
2525 Posts
Jul 04, 2017 03:17 AM|Jean Sun|LINK
Hi asp.ambur,
Do you use the script and style files that are gave in the website? If so, I think you can do it as follows:
In chosen.css, modify the max-height of 'chzn-results'. I think '300px' will be suit.
.chzn-container .chzn-results { max-height: 300px; }
In chosen.jquery.js, the code below sets width for the search textbox. You can set it as you need.
this.search_field.css({ "width": sf_width + "px" });
Best Regards,
Jean
Member
399 Points
1101 Posts
how to align drodpwonlist css
Jul 03, 2017 05:20 PM|asp.ambur|LINK
Hello
I'm using this tutioral
http://www.c-sharpcorner.com/uploadfile/ca3292/autocomplete-dropdown-using-jquery-with-c-sharp/
I want this please see the screenshot
Contributor
6490 Points
2525 Posts
Re: how to align drodpwonlist css
Jul 04, 2017 03:17 AM|Jean Sun|LINK
Hi asp.ambur,
Do you use the script and style files that are gave in the website? If so, I think you can do it as follows:
In chosen.css, modify the max-height of 'chzn-results'. I think '300px' will be suit.
In chosen.jquery.js, the code below sets width for the search textbox. You can set it as you need.
Best Regards,
Jean
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.