Author: keegan | Posted on: 11/8/2010 9:56:49 PM | Views : 1034

Hi all,
I have a link button thats text value is populated from a dataset value retrieved from a database.  When the user clicks on this link button I want to somehow capture the text value.  The trick is the linkbutton is within a usercontrol, and I want to do the processing from the user controls parent.  I am able to get the ID of the clicked linkbutton with the use of Request.Form["__EVENTTARGET"];, however i need the text value, in this case its a job number.
I may be able to do this via javascript with the OnClientClick;
OnClientClick='<%# DataBinder.Eval(Container.DataItem,"JobNo&quo ...

Go to the complete details ...