Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Apr 13, 2012 04:31 PM|LINK
I've got LinkButtons in my ListView. When the specific ListViewItem's LinkButton is clicked, that LinkButton is disabled. The problem is that the LinkButton's text contains data that is updated by the click of the LinkButton itself.
At the moment the LinkButton is disabled, but the data in the LinkButton's text that was updated is not updated on the LinkButton, because to do that I have to Databind() the ListView and this resets all the LinkButtons in the ListView to be enabled again.
How can I solve this problem?
The datasource is updated in the ListView's ItemCommand and the LinkButtons are disabled in the LinkButton's OnClick event.