Author: Nth88 | Posted on: 10/19/2010 11:36:55 AM | Views : 297

Hello,
I am aware that this has been discussed over and over in the past - but I've been searching on here and various other places to try and get an answer, to no avail. 
I have my webform in asp.net 3.5, using c# for the codebehind. I only have a single page, showing/hiding tables depending on which button the user selects.
In my 'Add Candidate' "page" (not a page, but I'll call it a page for ease) the user is presented with blank textboxes, and also a number of dropdown lists populated from an SQL database.
I have set the dropdown lists to be a set width, but some items are longer than the width I've set. I've found some code to change the width of the dropdown list when it is opened, but it is buggy and I'm not a fan of it. So I have attempted to add a tooltip for each item: (I found this code on Abdulla AbdelHaq's blog so all credit to him)
 
(Code in main.aspx page for ...

Go to the complete details ...