Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
370
WebDataGrid Get value of a LinkButton ItemTemplate cell clientside
posted

Hello,

I have a WebDataGrid with a column that is an ItemTemplate with LinkButton.

Each LinkButton, i mean each cell of each row has a different text value.

I need to get the text of the LinkButton in client side.

For example, exploring (for the active cell):

row.get_cell(I).get_value()

I see:

<a id="ctl00_BodyContent_GrdList_it0_5_EditButton" onclick="return editRow();" href="BLOCKED SCRIPT__doPostBack('ctl00$BodyContent$GrdList$it0_5$EditButton','')">2013-00000444</a>

that is the LinkButton.

Which is the right way to get only te text of the linkButton, I mean: 2013-00000444?

Thanks