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
125
Binding to FormView which contain WebTab
posted

When I run the code below which is attempting to bind a FormView control,  I am met with an error.

<asp:FormView ID="FormView1" runat="server" DataKeyNames="BsID" OnItemCreated="FormView1_ItemCreated"
                            Font-Size="12pt" OnItemInserted="FormView1_ItemInserted" DataSourceID="ObjectDataSource1"
                            OnItemInserting="FormView1_ItemInserting" OnItemUpdating="FormView1_ItemUpdating"
                            OnItemUpdated="FormView1_ItemUpdated" Width="100%">
                            <EditItemTemplate>
                                <ig:WebTab ID="WebTab1" runat="server" Width="100%" >
                                                <Tabs>
                                                    <ig:ContentTabItem runat="server" Text="Tab 1">
                                                        <Template>
                                                        <cc1:AdvCtrl ID="AdvCtrl1" runat="server" advFieldType="Text" advModeType="Value" btn_name_width="80px"
                                                                                        lb_key_width="10px" tbIndex="0" lb_key_text="*" Value='<%# Eval("BsID") %>' tb_width="350px"
                                                                                        advReadOnly="true" />

The error is  "DataBinding:' Infragistics.Web.UI.LayoutControls.ContentTabItem' does not contain a property with the name 'BsID'"