iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
the height of this combo seems has the same height the combo used for the product Number (the height for this combo is correct)
Is it possibile to reduce the height of the Del combo?
Thanks in advance
armore1972
Hi Armore1972,
I think you can do this by using ResultBoxHeight property in LayoutSettings. By using this property, I set its property to 0 then the ResultBoxHeight will growing as much as the items that you got inside the ResultBox. Or if you want to specify its height in client side you can use OnShowDropDown client side event. The function should be like this:
function WebCombo1_OnShowDropDown(controlId, left, top, width, height) { var WebCombo1 = ISGetObject(controlId); window.setTimeout(function () { WebCombo1.GetTData().parentElement.parentElement.style.height = ""; WebCombo1.GetTData().parentElement.style.height = ""; }, 100); return true; }
Hope this helps.
Regards,Bernard
Hi armore1972,
Glad that you have solved your problem. If you have any further question, please don't hesitate to ask us.
Hi Bernard,
I did the way you suggested but the Dropdown has dissapeared.
I guess, this is because it understand it as height=0px but not as "auto". I use new release 2015.
Is there any way out?
Thanks
I modified wcCategory WebCombo in WebGridIntegration.aspx sample file of WebCombo by setting ResultBoxHeight="0". The snippet code of wcCategory now looks like following:
<ISWebCombo:WebCombo ID="wcCategory" runat="server" UseDefaultStyle="True" DataMember="Categories" DataTextField="CategoryName" DataValueField="CategoryID" Height="20px" Width="200px"> <LayoutSettings ResultBoxHeight="0" /> <Columns> <ISWebCombo:WebComboColumn BaseFieldName="CategoryName" Bound="False" HeaderText="CategoryName" Name="CategoryName" /> <ISWebCombo:WebComboColumn BaseFieldName="CategoryID" Bound="False" HeaderText="CategoryID" Name="CategoryID" /> </Columns> </ISWebCombo:WebCombo>
Save the changes and view the page in browser. The height of wcCategory WebCombo's result box now grows as much as the items available inside ResultBox.
Should you have different scenario, please feel free to let us know.
In firefox (version 41.0) ResultBoxHeight="0" doesn't work correctly, dropdown is not showing. In IE 11 and chrome looks fine.Maybe someone has some solutions, workaounds, anything?
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname