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
<
="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>
Hi,
Please refer to the following link for more information on how to bind a WebCombo to different datasources:
http://help.infragistics.com/NetAdvantage/ASPNET/2010.1/CLR3.5/?page=Web_WebCombo_Using_WebCombo.html
Also what is the JavaScript error that you are getting?
Magued