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
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.