I have a datagrid on a vb/asp.net webform. Due to the number of elements on
each line item we have opted to not use in-line editing for each row, but
instead we are making the first item "clickable" which will then copy the
selected rows information to one row of data entry fields - textboxes (not
all items in each row of the datagrid are editable) located at the bottom of
Here is my question: since we already have all the information on the web
method we can use to transfer the data from the datagrid to the textbox
fields so that we don't have to perform another roundtrip to the server as
well as the additional database reads?
If there is a way to do this, can someone share an example?
On client side, ASP.NET DataGrid control will be presented as an HTML
Table. We can retrieve the values from the table's cells directly. For a
similar sample, you can refer to:
HOWTO: Access Table Cells Using x and y Coordinates Through DHTML
In this way, we may need more client side script.
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
|All times are GMT. The time now is 10:47 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.