Heely Guys
Story: I have a strange error when I try to save something I got this error message ( An entity object cannot be referenced by multiple instances of IEntityChangeTracker.)
I really don’t know what that is and why is it appear, it appears only when I try to save something my insert and update is working, only when I try to save something in db from my grid
if (this.annualVacationList != null) { List<AnnualVacation> vacationToSave = this.annualVacationList; IEnumerable<AnnualVacation> existing = paramUser.AnnualVacations; foreach (AnnualVacation toSave in vacationToSave) { AnnualVacation existingItem = existing.Where(x => x.AnnualVacationId == toSave.AnnualVacationId).SingleOrDefault(); if (existingItem == null) { ctx.AddToAnnualVacations(toSave); } else { existingItem.FromDate = toSave.FromDate; existingItem.ToDate = toSave.ToDate; existingItem.WorkingTime = toSave.WorkingTime; existingItem.VacationDays = toSave.VacationDays; } } } ctx.SaveChanges(); }public void AddToAnnualVacations(AnnualVacation annualVacation) { base.AddObject("AnnualVacations", annualVacation); }
Hi,
I need to build a photograph competition page that has a RadTabStrip which I add tabs to for each competition. Each tab contains a user control, that has a RadListView to view the member's entries and two buttons, for uploading and deleting entries.
I am having difficulty with the ItemDataBound & NeedDataSource events in the RadListView. I am not sure what to do and would appreciate it if someone could steer me in the right direction.
Kind regards,
Pierre

Hi,
I am facing an issue with our application, the checkbox inside the Telerik Radgrid in our application is not unchecking when it is clicked first time (as per the business logic the grid will be loaded as few rows checked. And this issue occurring only in this scenario). But it is unchecking on the second time clicked. This issue we got after migrating the application from .Net 3.5 to 4.0.
In our 3.5 application grid is working fine in the above said scenario. we have tried with 4.0 Telerik and Spring DLL ‘s, still we are facing the same issue.
Please suggest us on what we can do to rectify the Telerik Control issue.
<telerik:RadComboBox ID="SearchComboBox" runat="server" Skin="Office2007"> <ItemTemplate> <%# DataBinder.Eval(Container.DataItem,"Name") %> </ItemTemplate></telerik:RadComboBox>SearchComboBox.DataSource = dataTable;SearchComboBox.DataTextField = "Name";SearchComboBox.DataValueField = "ID";SearchComboBox.DataBind();
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="LeapTree.aspx.vb" Inherits="Pages_Leaps_LeapTree" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title>Test</title></head><body> <form id="form1" runat="server"> <telerik:RadOrgChart ID="RadOrgChart1" runat="server"> </telerik:RadOrgChart> </form></body></html> An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
|
<SafeControl Assembly="Telerik.Web.UI, Version=2012.3.1016.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" /> <SafeControl Assembly="Telerik.Web.UI, Version=2012.3.1016.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True" /><telerik:RadComboBox ID="ddlDevelopmentArea" runat="server" Width="200px" DropDownWidth="220px" EmptyMessage="" HighlightTemplatedItems="true" OnClientSelectedIndexChanged="OnClientSelectedIndexChangedEventHandler"> <HeaderTemplate> <table style="width: 240px" cellspacing="0" cellpadding="0"> <tr> <td style="width: 150px;"> <asp:Label runat="server"> <%=AutismPro.Classroom.SR.GetString("Curriculum", "Curriculum_DesignCurriculum_DevelopmentAreaCombo_Header")%> </asp:Label> </td> <td style="width: 90px;"> <%=AutismPro.Classroom.SR.GetString("Curriculum", "Curriculum_DesignCurriculum_DevelopmentAreaCombo_HasGoals")%> </td> </tr> </table> </HeaderTemplate> <ItemTemplate> <table style="width: 210px" cellspacing="0" cellpadding="0"> <tr> <td style="width: 150px;"> <%# DataBinder.Eval(Container, "Text")%> </td> <td style="width: 60px;"> <%# DataBinder.Eval(Container, "Attributes['HasGoals']")%> </td> </tr> </table> </ItemTemplate> </telerik:RadComboBox>var combo = $find("<%= ddlDevelopmentArea.ClientID %>"); combo.trackChanges();combo.get_selectedItem().get_attributes().setAttribute("HasGoals", "False");combo.commitChanges();