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

rad Combo in ASP grid view

3 Answers 44 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Harin Yadav
Top achievements
Rank 2
Harin Yadav asked on 21 Sep 2011, 02:34 PM
hi all,

i have a rad combo in ASP grid view
on button click we add a new row at bottom of Grid view this is done with JS code pasted below

 

var newRow=grd.rows[grd.rows.length-1].cloneNode(true);

 

tbod.appendChild(newRow);

now the Problem i inserted 3 rows to my Grid view
when i click the arrow of rad combo of the 3rd row its opening rad combo in the first row

but when i repllace rad combo with drop down its working fine

how to resolve this?

Thanks, Harin

3 Answers, 1 is accepted

Sort by
0
Kalina
Telerik team
answered on 21 Sep 2011, 05:27 PM
Hi Harin Yadav,

I am afraid that cloning the RadComboBox control at client-side is not a supported scenario.
Please excuse us for this limitation.

Best wishes,
Kalina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Harin Yadav
Top achievements
Rank 2
answered on 22 Sep 2011, 05:34 AM
is there any other way i can achive this?
need to add a new row  to the Grid on Client side..

Thansk, Harin
0
Dimitar Terziev
Telerik team
answered on 26 Sep 2011, 03:21 PM
Hi Harin,

The RadControls for ASP.Net Ajax are server controls by nature and you could not create them entirely on the client-side. For your scenario you should make an ajax request to the server and then add new rows with comboboxes.

Regards,
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
ComboBox
Asked by
Harin Yadav
Top achievements
Rank 2
Answers by
Kalina
Telerik team
Harin Yadav
Top achievements
Rank 2
Dimitar Terziev
Telerik team
Share this question
or