Hi,
I have a RadListBox binded to an ObjectDataSource. The problem I am having is that when I insert/delete an item from the datasource, it is not reflected in the RadListBox. The OBjectDataSource's Select method is never called. The weird thing is that I use the same ObjectDataSource with other different RadListBoxes and they work fine, The listbox contains the changes made.
Any help would be appreciated...
Thanks
I have a RadListBox binded to an ObjectDataSource. The problem I am having is that when I insert/delete an item from the datasource, it is not reflected in the RadListBox. The OBjectDataSource's Select method is never called. The weird thing is that I use the same ObjectDataSource with other different RadListBoxes and they work fine, The listbox contains the changes made.
Any help would be appreciated...
Thanks
FileImport.ascx%@ Control Language="C#" AutoEventWireup="true" CodeBehind="FileImport.ascx.cs" Inherits="Epsi.Segmentation.WebApp.SegmentationControls.FileImport" %><%@ Register src="UploadPrompt.ascx" tagname="UploadPrompt" tagprefix="uc1" %><%@ Register src="ColumnDetail.ascx" tagname="ColumnDetail" tagprefix="uc2" %><uc1:UploadPrompt ID="UploadPrompt1" runat="server" Visible="false" /><uc2:ColumnDetail ID="ColumnDetail1" runat="server" Visible="false" /><asp:HiddenField ID="HiddenFieldMode" runat="server" />UploadPrompt.ascx<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UploadPrompt.ascx.cs" Inherits="Epsi.Segmentation.WebApp.SegmentationControls.UploadPrompt" %><script type='text/javascript' src="../assets/js/segmentation/upload_prompt.js"></script><telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" /><asp:ObjectDataSource ID="ObjectDataSourceTables" runat="server" CacheDuration="10" DataObjectTypeName="Epsi.Segmentation.Dto.TblEntityDto" SelectMethod="SelectRegisteredUdtTables" TypeName="Epsi.Segmentation.WebApp.DataSource.ObjectDataSourceTables"></asp:ObjectDataSource><asp:ObjectDataSource ID="ObjectDataSourceTags" runat="server" CacheDuration="10" DataObjectTypeName="Epsi.Segmentation.Dto.TagEntityDto" SelectMethod="Select" TypeName="Epsi.Segmentation.WebApp.DataSource.ObjectDataSourceTags" ></asp:ObjectDataSource><asp:ObjectDataSource ID="ObjectDataSourceApps" runat="server" CacheDuration="10" DataObjectTypeName="Epsi.Segmentation.Dto.RefAppEntityDto" SelectMethod="Select" TypeName="Epsi.Segmentation.WebApp.DataSource.ObjectDataSourceApps"></asp:ObjectDataSource><div id="Div1" runat="server" style="overflow: auto; margin: 25px; width: 90%;"> <telerik:RadComboBox ID="RadComboBoxTable" Label="<%$ Resources:UserControlTextAndLabels, ExistingTableLabelResource%>" runat="server" DataSourceID="ObjectDataSourceTables" DataTextField="Name" OnClientSelectedIndexChanged="OnClientSelectedIndexChanged" DataValueField="Name" Width="100%"/></div><div id="Div2" runat="server" style="overflow: auto; margin: 25px; width: 90%;"> <telerik:RadTextBox ID="RadTextBoxNewTable" runat="server" MaxLength="26" Label="<%$ Resources:UserControlTextAndLabels, NewTableLabelResource%>" Width="100%"> <ClientEvents OnValueChanged="textNewTableChanged" /> </telerik:RadTextBox></div><asp:HiddenField ID="HiddenExistingTable" runat="server" /><div id="Div3" runat="server" style="overflow: auto; margin: 25px; width: 90%;"> <asp:Label ID="Label3" runat="server" Text="<%$ Resources:UserControlTextAndLabels, ImportFile%>" CssClass="rcbLabel riLabel" AssociatedControlID="RadUploadDataFile"> </asp:Label> <telerik:RadUpload ID="RadUploadDataFile" runat="server" ControlObjectsVisibility="None" MaxFileInputsCount="1" OnClientAdded="onClientDataFileAddedHandler" Localization-Select="<%$ Resources:UserControlTextAndLabels, SelectTxtResource%>" Width="100%"> </telerik:RadUpload></div><div id="Div5" runat="server" style="overflow: auto; margin: 25px; width: 90%;"> <asp:Label ID="Label1" runat="server" Text="<%$ Resources:UserControlTextAndLabels, ApplicationsResource%>" CssClass="rcbLabel riLabel" AssociatedControlID="RadListBoxApps" /> <br /> <telerik:RadListBox ID="RadListBoxApps" runat="server" CheckBoxes="True" DataKeyField="Id" DataSortField="Name" DataSourceID="ObjectDataSourceApps" DataTextField="Name" DataValueField="Id" Style="overflow: auto;" Width="80%" Height="50px" ondatabound="RadListBoxApps_DataBound"> <ButtonSettings ReorderButtons="Common" /> </telerik:RadListBox></div><div id="Div6" runat="server" style="overflow: auto; margin: 25px; width: 90%;"> <asp:Label ID="Label2" runat="server" Text="<%$ Resources:UserControlTextAndLabels, TagsColonResource%>" CssClass="rcbLabel riLabel" AssociatedControlID="RadListBoxTags" /> <br /> <telerik:RadListBox ID="RadListBoxTags" runat="server" CheckBoxes="True" DataKeyField="Id" DataSortField="Id" DataSourceID="ObjectDataSourceTags" DataTextField="Id" DataValueField="Id" Style="overflow: auto;" Width="80%" Height="50px" ondatabound="RadListBoxTags_DataBound"> <ButtonSettings ReorderButtons="Common" /> </telerik:RadListBox></div><div id="Div4" runat="server" style="overflow: auto; margin: 25px; width: 90%;"> <asp:Button ID="submitButton" runat="server" Text="<%$ Resources:UserControlTextAndLabels, SubmitTxtResource%>" onclick="submitButton_Clicked" /> <asp:Button ID="ButtonCancel" runat="server" Text="<%$ Resources:UserControlTextAndLabels, BtnCancelResource1 %>" CausesValidation="False" onclick="ButtonCancel_Click" /></div>