Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
471
to set the selected fieldin Webcombo
posted

Hi

 

  Iam using ajax webcombo  in my form.how to set the selected value  of the combo box.iam having value in integer datafiled  .pls can u tell me which property to set the selected value

 <igcmbo:WebCombo ID="cbogroup" runat="server" BackColor="White" BorderStyle="Solid"
                                BorderWidth="1px" CssClass="cboStyle"
                                ForeColor="Black" Height="21px" SelBackColor="DarkBlue" SelForeColor="White"
                                TabIndex="2" Version="4.00" Width="414px" Editable="True"
                                ToolTip="Select Group" DataTextField="ClaimGroupName"
                                DataValueField="GroupIntID">
                                <ExpandEffects ShadowColor="LightGray" />
                                <DropDownLayout AutoGenerateColumns="False" BorderCollapse="Separate" ColHeadersVisible="No"
                                DropdownWidth="300px" RowHeightDefault="20px" RowSelectors="No" Version="4.00" BaseTableName="">
                                    <FrameStyle CssClass="cboStyle" Cursor="Default" Height="130px" Width="300px">
                                    </FrameStyle>
                                    <HeaderStyle BackColor="LightGray" BorderStyle="Solid">
                                        <BorderDetails ColorLeft="White" ColorTop="White" />
                                    </HeaderStyle>
                                    <RowStyle CssClass="cboRowStyle" Width="152px" />
                                    <SelectedRowStyle BackColor="CornflowerBlue" Cursor="Default" ForeColor="White" Width="142px" />
                                </DropDownLayout>
                                <Columns>
                                    <igtbl:UltraGridColumn BaseColumnName="GroupIntID" IsBound="True"
                                        Key="GroupIntID" DataType="System.Int64" Hidden="True">
                                        <header caption="GroupIntID"></header>
                                    </igtbl:UltraGridColumn>
                                    <igtbl:UltraGridColumn BaseColumnName="ClaimGroupName" IsBound="True"
                                        Key="ClaimGroupName">
                                        <Header Caption="ClaimGroupName">
                                            <RowLayoutColumnInfo OriginX="1" />
                                        </Header>
                                        <Footer>
                                            <RowLayoutColumnInfo OriginX="1" />
                                        </Footer>
                                    </igtbl:UltraGridColumn>
                                </Columns>
                                <ClientSideEvents  />
                            </igcmbo:WebCombo>