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

Telerik radgrid codebehind doesn't recognize rows added via javascript

1 Answer 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nate
Top achievements
Rank 1
Nate asked on 23 Sep 2015, 05:37 PM

I can find no way to properly format my source code samples here on this forum. The painbrush icon (Format Code Block) simply doesn't work, and never has. Begging everyone's pardon, could you please see my question on Stack, which formats code samples nicely. If anyone can tell me how to properly format my code blocks here on this forum, I am happy to learn.

 

http://stackoverflow.com/questions/32737055/telerik-radgrid-codebehind-doesnt-recognize-rows-added-via-javascript

 

Thanks very much.​

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 24 Sep 2015, 12:15 PM
Hello Nate,

Note that the article you are referring to illustrates a custom scenario. Moreover, it is currently outdated as there are better ways to achieve the functionality. It is available in the documentation for as workaroud for older versions of the controls.

If you would like to perform CRUD operations for RadGrid client-side it is recommended to use client-side binding. You can use RadClientDataSource - it can be integrated with RadGrid out of the box. Also, there will be no custom code required in order to implement the behavior. Check out the following demo that illustrates the approach.



Regards,
Viktor Tachev
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Nate
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or