Sir,
I want to set my all webdropdown to use the the maxlist height to 120px and minheight of the list to 0 px so that it grows automatically when item increases in the dropdownlist upto 120 px and then it start showing the vericle scroll alos i want all dropdown list to use the width equivelent to the control width i set it 100% but if the values are larger it increase the width.Please reply ASAP
Thanks in advance.
Hey there,
I am glad it works!
Thank you for using the Infragistics forums.
Hi Dinev,
I am glad for your replay ACCORDING YOUR SUGGESTION I JUST PUT IT IN DIV
It's working good .Thank u
Hi there,
The DropDownContainer property is used to set a fixed absolute size for the container (meaning you would get a word wrap for larger items. If you have width set to a 100% for that property then it would behave according to the specific browser interpretation. If you want the drop down width and the drop down container width to align then I suggest that you place the drop down in a div with absolute dimensions and set EnableDropDownAsChild="true". This should make the drop down and drop down container width equivalent.
Sincerely,
This is the code:
<td valign="top" class="style1"> <ig:WebDropDown ID="WebDropDown1" runat="server" Width="100%" DropDownContainerWidth="100%" Height="21px"> <Items> <ig:DropDownItem Selected="False" Text="DropDownjjjjjjjjjjjjjjjj Item" Value=""> </ig:DropDownItem> <ig:DropDownItem Selected="False" Text="DropDown Item" Value=""> </ig:DropDownItem> <ig:DropDownItem Selected="False" Text="DropDown Item" Value=""> </ig:DropDownItem> <ig:DropDownItem Selected="False" Text="DropDown Item" Value=""> </ig:DropDownItem> </Items> </ig:WebDropDown> </td>
waiting for replay
Hey,
Did you try manipulating the width of the list through the DropDownContainerWidth property?
Best regards.