Hello there,
I'd like to have the normal control having a fixed width, but when the drop down appears to set the dropdownwidth dynamic.
I tried something like this:
<div style="overflow:hidden"> <stgwc:DropDown ID="ddlRoleTypeEdit" ClientIDMode="Static" runat="server" Width="170px" DropDownContainerWidth="100%" EnableDropDownAsChild="true" OnInit="DropDown_OnPreRender" > <DropDownItemBinding KeyField="ROLETYPE_CDE" ValueField="ROLETYPE_CDE" TextField="DESCR" /> </stgwc:DropDown> </div>
So the width with 170px is fine, but the dropdown list gets way smaller, and I have no idea how this is calculated.
Is the a possibility to do this proper? So the dropdown gets bigger dynamically depending on the font size?
Thanks for your answers.
Müller Matthias.
Hello Argusnet_00,
Please let me know if I can provide any further assistance regarding this matter.
Hello Muller,
The DropDownContainerWidth should be set in pixels. Similar issue is discussed here http://ko.infragistics.com/community/forums/t/52609.aspx
Please let me know if you have any further questions regarding this matter.