Hello all,
I Have a link button when clicked i want to preform an operation inside the OnPreRender method...
so how would i know if that linkbutton was clicked
say my linkbutton's name is : lnkbtn1
Thanks in advance.
Baher.
Hello all,
I Have a link button when clicked i want to preform an operation inside the OnPreRender method...
so how would i know if that linkbutton was clicked
say my linkbutton's name is : lnkbtn1
Thanks in advance.
Baher.
Your button's Clicked event would already have been called by the time you get to PreRender, so maybe use the Click event to set a private boolean property on your control to indicate whether the button was clicked, which you can then check later in PreRender.