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

Binding the RadGrid dynamically with RadEditor in javascript

1 Answer 73 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sushmita
Top achievements
Rank 1
Sushmita asked on 05 Nov 2012, 05:10 AM

Hello,

I have a RadGrid with 4 template columns.
1. ASP:TextBox
2. RadEditor
3. ASP:LinkButton (ADD)
4. ASP:LinkButton. (DELETE)

When we click on "ADD" button we are adding a new row next to the selected row. Same way we are deleting the selected row on click of "DELETE" button. This we are doing in postback by rebinding the RadGrid. We need to avoid the postback and Add/Delete rows dynamically in javascript. Please provide the solution. Please find herewith the sample code that we are doing in code behind.

FYI: we are using net framework 4.0 and the Telerik.Web.UI.dll version is v. 2011.2.915.40

I am not able to add the code here.

1 Answer, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 08 Nov 2012, 08:09 AM
Hi Sushmita,

See these demos that might help you:
http://demos.telerik.com/aspnet-ajax/grid/examples/client/clientdelete/defaultvb.aspx
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/clienteditbatchupdates/defaultvb.aspx

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