开发者

How can I reach DataKey cells of GridView on the client-side?

I need to reach DataKey columns of a GridView on the client side by a JavaScript function.

As they they are at least visually disabled on the UI I wonder if I开发者_JAVA百科 can still reach them on client?

Is it possible?


DataKeys are not published to the client. You have to write out the values some way, either use a hidden field in a template column (but don't set the column to visible="false") or some other means to get this to work.

I'm sure there are other ways too...

HTH.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜