Logo 
Search:

Asp.net Answers

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds
  Question Asked By: Almas Akhtar   on Mar 20 In Asp.net Category.

  
Question Answered By: Ibtihaj Akhtar   on Mar 20

You have to cast it to a LinkButton. FindControl method returns a Control object (not a LinkButton one)

myDeleteButton = CType(e.Item.FindControl("btnDelete"), LinkButton)

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Confirm delete on a Link button Or get search suggestion and latest updates.


Tagged: