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

Inserting new item at the client side

1 Answer 53 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Hadi Teo
Top achievements
Rank 1
Hadi Teo asked on 02 Jul 2009, 02:37 AM
Background
This main page will open a new RadWindow and perform some business logic process. After the RadWindow is closed, some values (in JSON format) will be passed back as argument to the main page.

Those result argument will be processed in the OnClientClose function (client side event of the RadWindow). In this function, it will need to update the RadGrid using client side.

Reference
I have referred to this insertItem client side method , but it lacks of example

Issue
1) Is it possible to insert items at the client side ? My goals is to update the grid's display solely based on the data retrieved from the argument passed back after the RadWindo is closed.

2) Another alternative is to fire an AjaxRequest back to the server to refresh the grid's with latest data. Which alternative is preferred ?

Thanks,

hadi

1 Answer, 1 is accepted

Sort by
0
Hadi Teo
Top achievements
Rank 1
answered on 02 Jul 2009, 02:57 AM
Please ignore this thread. Finally i have chosen my 2nd alternative by firing another RadAjaxRequest to the server side to update the grid from the server side.

Thanks,

hadi teo
Tags
Grid
Asked by
Hadi Teo
Top achievements
Rank 1
Answers by
Hadi Teo
Top achievements
Rank 1
Share this question
or