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
Hi,
I put a webcombo inside a WebDialogBox. The webCombo is populated from JSON on page load. It looks fine. But when the focus is moved to the buttons on WebDialogBox, the Webcombo disappears, and can not show again. How to avoid that? Here is the code:
<ISWebDesktop:WebDialogBox ID="dlgLookup" runat="server" Text="Lookup TaxCode" Width="400px" Height="150px" DialogBoxImage="None"> <ContentTemplate> <ISWebCombo:WebCombo ID="comboLookup" runat="server" BindingOperationMode="ClientBinding" DataTextField="Value" DataValueField="Key" ViewStateStorage="None" Width="360px" UseDefaultStyle="True"> <Columns> <ISWebCombo:WebComboColumn Name="text" BaseFieldName="Value" HeaderText="Item Text" DataType="System.String"/> </Columns> <LayoutSettings EntryMode="AutoComplete" StatusBoxVisible="false" ComboMode="SingleColumn"> </LayoutSettings> <FlyPostBackSettings PostHiddenFields="true" PostInputControls="true" /> <ClientBindingSettings DataSourceType="ClientDataSource"/> </ISWebCombo:WebCombo> </ContentTemplate> <WindowSettings AllowResize="Yes"> <CommandButtonStyle> <Active CssClass="clsSmallButton" Font-Bold="true" /> <Over CssClass="clsSmallButton" Font-Bold="true" /> <Normal CssClass="clsSmallButton" Font-Bold="false"> </Normal> </CommandButtonStyle> <ContainerStyle CssClass="clsBgTable"> <Padding Bottom="2px" Left="2px" Right="2px" Top="2px" /> </ContainerStyle> <WindowStyle> <Active BaseStyle="Normal" BorderColor="Gray" /> <Normal BackColor="White" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px" Font-Names="Tahoma" Font-Size="8pt"> </Normal> </WindowStyle> <CaptionStyle> <Active BackColor="#766C62" BaseStyle="Normal" /> <Normal BackColor="Gray" Font-Bold="True" Font-Names="Tahoma" Font-Size="10pt" ForeColor="White"> <Padding Bottom="2px" Left="2px" Right="2px" Top="2px" /> </Normal> </CaptionStyle> <CaptionButtonStyle> <Active BaseStyle="Normal"> <BorderSettings> <Top Color="Gray" /> <Left Color="Gray" /> </BorderSettings> </Active> <Over BaseStyle="Normal"> <BorderSettings> <Bottom Color="Gray" /> <Right Color="Gray" /> </BorderSettings> </Over> <Normal BorderColor="White" BorderStyle="Solid" BorderWidth="1px" Height="17px" Overflow="Hidden" OverflowX="Hidden" OverflowY="Hidden"> </Normal> </CaptionButtonStyle> </WindowSettings> <CommandButtons> <ISWebDesktop:WebDialogBoxButton Name="askOK" Text="Submit" Type="OK" /> <ISWebDesktop:WebDialogBoxButton Name="askCancel" Text="Cancel" Type="Cancel" /> </CommandButtons> <ClientSideEvents OnButtonClicked="dlgLookup_ButtonClicked" /> </ISWebDesktop:WebDialogBox>
Thanks,
Luwen
function WebCombo1_OnLostFocus(controlId){ var WebCombo1 = ISGetObject(controlId); WebCombo1.DoResize(true); return true; }
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