I try to update data in a FormView, thats connected to a LinqDataSource. If I click on the Submit button, the page reloades, but the Data isen't updating. I cant find anything wrong with the code. Any help would be appreciated.
Bruno
Here the code:
<asp:Panel ID="ContentHeaderPanel" runat="server" CssClass="Boxheader"> |
<asp:DropDownList ID="ContentDropDownList" runat="server" |
DataSourceID="ContentLinqDataSource" DataTextField="Content_Name" |
DataValueField="Content_ID" AutoPostBack="True"> |
</asp:DropDownList> |
<asp:LinqDataSource ID="ContentLinqDataSource" runat="server" |
ContextTypeName="gourmetnavigatorDataContext" OrderBy="Content_Name" |
TableName="Content"> |
</asp:LinqDataSource> |
</asp:Panel> |
<asp:Panel ID="ContentPanel" runat="server" CssClass="Boxcontent"> |
<asp:FormView ID="ContentFormView" runat="server" DefaultMode="Edit" |
DataSourceID="ContentdetailLinqDataSource" DataKeyNames="Contentdetail_ID"> |
<EditItemTemplate> |
<telerik:RadEditor ID="Contentdetail_Text" runat="server" Language="de-DE" |
Skin="Telerik" Content='<%# DataBinder.Eval(Container.DataItem, "Contentdetail_Text") %>'> |
<Tools> |
<telerik:EditorToolGroup> |
<telerik:EditorTool Name="Paste" /> |