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

Item has already been added. Key in dictionary,unable to set values for resources

3 Answers 84 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
rajesh
Top achievements
Rank 1
rajesh asked on 16 May 2011, 01:06 PM
hi,
iam using radscheduler with Entity DataSource iam encountered with following errors.

1).Item has already been added. Key in dictionary: 'Reminder' Key being added
this error is only getting  when iam using Entity Data source 

2).when using Customized Advance Form Template(given Example) iam able to get  the given user control values i.e boolean attribute.ascx,ResourceControl.ascx,MultipleResourcevalues.ascx   values but unable to set them ...when trying to set them....iam getting :"object referrence  not set to an instance "Error ...
iam not using provider using entity datasource  and SQldatasource... 
 iam annoying with these problems from so many days... 
Hope i will get  solution for those problems as soon as possible ....


thanking you 
Rajesh 

3 Answers, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 18 May 2011, 08:36 AM
Hi rajesh,

1) This is a known bug in the RadScheduler which have been fixed in version 2011.3 1215:

Fixed: Appointments will get a custom attribute named "Reminder" when setting the reminder through a template. This can cause an exception with declarative data sources

2) You need to make sure that you have setters in the Bindable properties in code-behind of the Advanced Form as shown in this demo:

[Bindable(BindableSupport.Yes, BindingDirection.TwoWay)]
        public object RoomID
        {
            get
            {
                return ResRoom.Value;
            }
  
            set
            {
                ResRoom.Value = value;
            }
        }

If this doesn't helps could you please show me the code so I can inspect it and help you?

Greetings,
Veronica Milcheva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
rajesh
Top achievements
Rank 1
answered on 18 May 2011, 12:19 PM
hi Veronica,
Thanks For Reply ,i solved the second issue...but isn't there any  solution for the reminder issue for  ASP AJAX Version 2010 Q2... controls also i cant avoid using entity data source because our site is based on Using Dynamic Data website  ...radscheduler has been perfectly working for all my requirements except that reminder issue...i fear it will become a mess if i dont solve that problem and entire work done for the Radscheduler will be wasted...i hope u will reply with a solution for that issue ...as soon as possible 

thanking you 
Rajesh.
0
Veronica
Telerik team
answered on 20 May 2011, 02:41 PM
Hi rajesh,

Unfortunately we can not provide a workaround for the issue. Upgrading to higher version is the only solution. 

Please accept my apologies for the caused inconvenience.

Kind regards,
Veronica Milcheva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
General Discussions
Asked by
rajesh
Top achievements
Rank 1
Answers by
Veronica
Telerik team
rajesh
Top achievements
Rank 1
Share this question
or