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
770
failed to bind datatable into webcombo
posted

Hi guys, I'm new to Infragistic control. I have a webcombo and I would like to retreive data from database and bind it into webcombo.

But when I run the page, I notice a javascript error at the bottom of IE6.

Please let me know if I did it wrong, relly appreciate your help.

Backend Code

WebCombo.DataSource = ds.Tables("Race")

WebCombo.DataMember = "Race"

WebCombo.DataTextField = "description"

WebCombo.DataValueField = "id"

WebCombo.DataBind()

 

ASPX Code

<

 

igcmbo:WebCombo ID="WebCombo" runat="server" BackColor="White" BorderColor

="LightGray"

BorderStyle="Solid" BorderWidth="1px" ForeColor="Black" Height="22px" SelBackColor="DarkBlue"

SelectedIndex="-1" SelForeColor="White" Version="3.00" Width="200px" Editable="true">

<DropDownLayout BorderCollapse="Separate" DropdownHeight="130px" DropdownWidth="325px"

HeaderClickAction="Select" RowHeightDefault="20px">

<HeaderStyle BackColor="LightGray" BorderStyle="Solid">

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

</HeaderStyle>

<FrameStyle BackColor="Silver" BorderStyle="Ridge" BorderWidth="2px" Cursor="Default"

Font-Names="Verdana" Font-Size="10pt" Height="100%" Width="100%">

</FrameStyle>

<RowStyle BackColor="White" BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px">

<BorderDetails WidthLeft="0px" WidthTop="0px" />

</RowStyle>

<SelectedRowStyle BackColor="DarkBlue" ForeColor="White" />

</DropDownLayout>

<ExpandEffects ShadowColor="LightGray" />

</igcmbo:WebCombo>

Parents
No Data
Reply Children
No Data