I have a Grid view in which the columns are Databound Item templates.
I need to attach the client Id of a control(Hyperlink) and its value to the request object while posting it back to the server(since Viewstate is turned off).
Using the Client Id, I can write code to retrieve the value of the hyperlink ‘text’ field.
Is this possible in any way? Or, can you guys suggest me an alternative approach to doing this??
Yes, it’s possible.
Have some JavaScript save the control’s ID into a hidden input field in the form. You can then read the posted form field from the Request object on the server.