rad Combo in ASP grid view

4 posts, 0 answers
  1. Harin Yadav
    Harin Yadav avatar
    31 posts
    Member since:
    Jan 2011

    Posted 21 Sep 2011 Link to this post

    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

  2. Kalina
    Admin
    Kalina avatar
    918 posts

    Posted 21 Sep 2011 Link to this post

    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
  3. Harin Yadav
    Harin Yadav avatar
    31 posts
    Member since:
    Jan 2011

    Posted 22 Sep 2011 Link to this post

    is there any other way i can achive this?
    need to add a new row  to the Grid on Client side..

    Thansk, Harin
  4. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1268 posts

    Posted 26 Sep 2011 Link to this post

    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
Back to Top