Populate Datagrid from Client side

V

Vijay Kerji

Hi All,

I have a parent page. It will pop up a modal dialog (by calling show
modal dialog) window. Dialog window will return a long string which
will be parsed at the client side(say as first and last names). Now I
need to populate the datagrid with these string data.
Is it possible and if it is, how it can be done???

Thanks in advance

Vijay Kerji
 
E

Eliyahu Goldin

Vijay,

To populate on client side is not a problem. DataGrid renders to a <table>.
You just need to navigate through table rows and cells in javascript, find
the cells you need to modify (or insert a row) and set the cell's innerText
property to the parsed values.

A bigger question is if you need to communicate the changes to the server.

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top