Omar

Omar

  • NA
  • 12
  • 10.2k

How to disable button on ascx page from aspx page

Feb 12 2013 11:07 AM
I have a button on a web control page(.ascx) that I need to disable from an aspx page (depending on certain criteria).  I just need to know how to call that control(the button) that is on the .ascx page, from my aspx page (in the page load event for example). 

I think I have to use the 'FindControl()' function but I am not sure.  Thank you for any help!

Answers (1)