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

[Solved] Clone ComboBox Problem

3 Answers 149 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pete
Top achievements
Rank 1
Pete asked on 25 Feb 2011, 05:05 PM
Hello,
I have a hidden input template used for creating objects. The user can create X number of objects by clicking on a 'Create Another' link. I'm using jQuery's clone method to create copies of the template, and make the copy visible. However, the cloned ComboBoxes are not functioning correctly. Seems like they're not being initialized properly, as the following call is returning null:

$('#ComboBox').data('tComboBox')

Can someone please advise on a way to clone ComboBoxes on the client?
Thanks
Pete

3 Answers, 1 is accepted

Sort by
0
Mark
Top achievements
Rank 1
answered on 12 Apr 2011, 11:35 AM
I have this exact same problem,

is there any resolution?

Cheers,

Mark
0
Darren
Top achievements
Rank 1
answered on 14 Jun 2011, 08:16 PM
I have run into the same issue.  Did either of you find a workaround?

Thanks,

-Darren
0
Atanas Korchev
Telerik team
answered on 15 Jun 2011, 06:32 AM
Hi,

Do the cloned elements have duplicate HTML id attribute? HTML elements should have unique HTML id attribute. Pasting here the code which clones the combobox will help us identify any issues it may have.

Regards,
Atanas Korchev
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
ComboBox
Asked by
Pete
Top achievements
Rank 1
Answers by
Mark
Top achievements
Rank 1
Darren
Top achievements
Rank 1
Atanas Korchev
Telerik team
Share this question
or