Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Nov 07, 2006 05:21 PM|LINK
void Page_Load(object sender,
AsyncPostBackTrigger apt = t as
if(apt != null && apt.ControlID ==
22 apt.ControlID = btSearch.ClientID;
I stepped through the code and it correctly finds the trigger and replaces the ID, but the update panel is still complaining that it can't find the control using the new
ControlID is a string. I was assuming that since "btSearch" didn't work that btSearch.ClientID would, but it didn't.