This is a migrated thread and some comments may be shown as answers.

Advanced Formm exception when try to save

1 Answer 54 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
John John
Top achievements
Rank 1
John John asked on 03 Jun 2010, 07:35 PM
Hi

I've created custom advanced for like in demo. Now, when I'm trying to save appointment, it throws exception, which says that there is another records with the same key exists in Hashtable.  Stacktrace:

[ArgumentException: Element already exists. Key in dictionary: "Subject" New key: "Subject"] System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) +7482408 System.Collections.Hashtable.Add(Object key, Object value) +11 System.Collections.Specialized.OrderedDictionary.Add(Object key, Object value) +41 Telerik.Web.UI.RadScheduler.TranslateDataKeysFromTemplate(IDictionary data) +355 Telerik.Web.UI.RadScheduler.InsertAppointmentInline() +100 Telerik.Web.UI.RadScheduler.OnBubbleEvent(Object source, EventArgs args) +506 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37 System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +118 System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +135 System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)



Any ideas?

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 04 Jun 2010, 10:21 AM
Hi John,

Do you, by any chance, have a custom attribute that is named Subject too?

If not, we're going to need to see the page source code in order to help.

Regards,
Tsvetomir Tsonev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Scheduler
Asked by
John John
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or