ASP.NET: How to assign ID to a field in DetailsView?
Posted
by jawonlee
on Stack Overflow
See other posts from Stack Overflow
or by jawonlee
Published on 2010-05-24T21:16:52Z
Indexed on
2010/05/24
21:21 UTC
Read the original article
Hit count: 229
I have a master-detail page, in which I use GridView to display multiple rows of data, and DetailsView + jQuery dialog to display the details of a single records. only one DetailsView is open at a time.
I need to be able to pull out a single field of the open DetailsView, for manipulation using JavaScript. Is there a way to give a unique ID to a given field in DetailsView, so I can use getElementByID? Or is there another way to accomplish what I'm trying to do?
Thank you in advance.
© Stack Overflow or respective owner