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

How to add the rows to Telerik Grid

1 Answer 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Thippa Reddy
Top achievements
Rank 1
Thippa Reddy asked on 19 Apr 2011, 08:34 AM
HI,

I am creating the Grid dynamically with 3 rows from server side and implemented Copy Paste from Excel(Using Javascript). Now I want to create a new rows using javascript if user try to paste more than 3 rows.
How can I create new rows using javascript.

Thanks & Regards,
Thippa Reddy

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 21 Apr 2011, 03:36 PM
Hello,

Note that RadGrid is by design bound control. The ASP.NET platform does not allow editing a database with JavaScript on the client. Therefore the RadGrid could not be updated only on the client without hitting the server as this does not make any sense. Adding a row only on the client-side without a hit on the server is kind of html injection and it does not correspond with the RadGrid main functionality. The new added rows will not be able to handle the main grid functionalities like sorting, paging, filtering etc.


Regards,
Maria Ilieva
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
Grid
Asked by
Thippa Reddy
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or