Hi
How to disable LinkButton in repeater ItemDataBound
LinkButton btn1 = e.Item.FindControl("lnkStatus") as LinkButton;
Thanks
Hi
How to disable LinkButton in repeater ItemDataBound
LinkButton btn1 = e.Item.FindControl("lnkStatus") as LinkButton;
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Amit MohantyRank #112 · 20K reputationPosted Oct 13, 2022, 6:28 AM EDT
Try this
LinkButton linkButton = (LinkButton)e.Item.FindControl("lnkStatus"); linkButton.Enabled = false;