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

Inserting row client side

1 Answer 74 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Saima Gul
Top achievements
Rank 1
Saima Gul asked on 15 Jun 2010, 12:50 PM
Hi
I want full client side functionality which dnt need to post back data to server because it is very expensive to post all rows of grid for adding just a new row
i have some text boxes on grid and i want to add a row in grid and set value of its column of what i have entered in text boxes by clicking a button and repeat this process no of times. 
What i see that i cant do this from client side, i can do by firing command event of grid but it fires on server while i dnt want to raise any server side event so that i can reduce client to server transfer.
how can i do this plz give example
i want something like this
function btnUpdateRow_Click()
        {
            masterTable.IsItemInserted = true;
            var masterTable = $find("<%= grdBody.ClientID %>").get_masterTableView();
   masterTable.IsItemInserted = true; //something like this to put grid in inserted mode but grid has no such property
            masterTable.InsertItem();
///After this access inserted row and assign value in that newly inserted row
If this functionality not available, can we expect any such functionality in next version of telerik
        } 

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 15 Jun 2010, 01:02 PM
Hello,

RadGrid for ASP.NET AJAX supports client-side binding to web services or page methods as demonstrated in the following online demo.
Client-side Insert/Update/Delete


-Shinu.
Tags
Grid
Asked by
Saima Gul
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or