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

Two components with the same id

4 Answers 170 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Daniel Qin
Top achievements
Rank 1
Daniel Qin asked on 15 Mar 2010, 11:44 AM
Detailed Message 
 
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) 
Time: Mon, 15 Mar 2010 10:38:43 UTC 
 
 
Message: Sys.InvalidOperationException: Two components with the same id 'dnn_ctr501_Schedule_RadWindow1_C_ScheduleControl1_dpStart_dateInput' can't be added to the application. 
Line: 4044 
Char: 59 
Code: 0 
URI: http://local.com/ScriptResource.axd?d=qr-JWAPlSw_PG_fBRvJ-SiEuS4djBj_SaOoatAKMs3TZe3kUSpNeAqXh25Mjn4IhJlouOn480u1-9iYlbSTecUf0MB7rsMw0M1hN9CF4krQ1&t=ffffffffec2d9970 
 
 
Message: Sys.InvalidOperationException: Two components with the same id 'dnn_ctr501_Schedule_RadWindow1_C_ScheduleControl1_dpStart_calendar' can't be added to the application. 
Line: 4044 
Char: 59 
Code: 0 
URI: http://local.com/ScriptResource.axd?d=qr-JWAPlSw_PG_fBRvJ-SiEuS4djBj_SaOoatAKMs3TZe3kUSpNeAqXh25Mjn4IhJlouOn480u1-9iYlbSTecUf0MB7rsMw0M1hN9CF4krQ1&t=ffffffffec2d9970 
 
 
Message: Sys.InvalidOperationException: Two components with the same id 'dnn_ctr501_Schedule_RadWindow1_C_ScheduleControl1_dpStart' can't be added to the application. 
Line: 4044 
Char: 59 
Code: 0 
URI: http://local.com/ScriptResource.axd?d=qr-JWAPlSw_PG_fBRvJ-SiEuS4djBj_SaOoatAKMs3TZe3kUSpNeAqXh25Mjn4IhJlouOn480u1-9iYlbSTecUf0MB7rsMw0M1hN9CF4krQ1&t=ffffffffec2d9970 
 
 
Message: 'this._viewIDs.length' is null or isnot object. 
Line: 237 
Char: 32 
Code: 0 
URI: http://local.com/ScriptResource.axd?d=VS50ULAIa2fw87DZDJgKffqbwGPrHjCRHGtAKnY8OR5fe2_yiN5tJriJswV0jM3wKTepcDRFt6GEgA7oFa0N8w2&t=ffffffffb976752b 
 
 

here are some instructions:

the RadCalendar is in the UpdatePanel,and UpdatePanel in the RadWindow
after i excute postback  twice ,i got this error.

please adivse.
THank you

4 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 15 Mar 2010, 12:03 PM
Hello Daniel,

I tried to reproduce the problem you describe, but to no avail. Could you please prepare and send us a simple running project, demonstrating the problem you have run into, so that we can investigate what is causing it?

Sincerely yours,
Pavlina
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.
0
Daniel Qin
Top achievements
Rank 1
answered on 15 Mar 2010, 01:09 PM
Hello,

ok, please do it as follow:
1. create a new module in DNN
2.create new usercontrol
3. place one RadWindow in the usercontrol,place one updatepanel in the RadWindow,place RadCalendar in the updatepanel.
also place some checkbox groups ,radio button groups and enable postback.

4. place on linkbutton in the usercontrol .  enabled server-side click event, and show RadWindow in this event.

(please click this linkbtton twice ,you will see errors under IE8)

i created one demo site, how can send it to you?

Thank you

0
Daniel Qin
Top achievements
Rank 1
answered on 16 Mar 2010, 09:30 AM
Hello

i found a problem:

if all RadAjax controls in the RadWindow,
when we open RadWindow again ,we will meet such errors.


now ,i am sure the problem is in the RadWindow
if we use RadWindow as container ,there are many problems.



0
Pavlina
Telerik team
answered on 18 Mar 2010, 11:59 AM
Hello Daniel,

I noticed that you have opened several threads about the same issue. Please, refer to the support ticket post for additional information. To avoid duplicate posts, I suggest you continue the communication there.

However, attached to this message is a modified project which is working properly. Give it a try and let me know if other questions or problems arise.
In order to overcome this error you should open the window on client as in the modified project .

Additionally, I suggest you avoid ajaxifying the RadWindow control.

Regards,
Pavlina
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
Calendar
Asked by
Daniel Qin
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Daniel Qin
Top achievements
Rank 1
Share this question
or