How to change a link button's text on grid view when clicks on it
I have grid view with link button named 'CLICK'. when clicks on this link
button I wants to change its text to "CLICKED" I have done like this, on
row command
if (e.CommandName == "ARCHIVE") //FOR SETTING THE VIEW LINK BUTTON
{
LinkButton lnkbtn = (LinkButton)sender;
lnkbtn.Text = "viewed";
lnkbtn.Enabled = false;
}
but its not working. please help
No comments:
Post a Comment