Author: chief7 | Posted on: 10/6/2008 7:48:18 AM | Views : 574

I have a user control that I'm loading dynamically onto a page using the this.LoadControl method.  I am giving the dynamically created control an ID, which I have found is typically the cause for problems with dynamically created controls.  So this is different.  The page I'm loading it on has a master page.  In looking at another dynamically created server control on the page, I compared the two postback urls:
Server Control:
javascript:WebForm_DoPostBackWithOptions(new%20WebForm_PostBackOptions("ctl00$ContentPlaceHolder1$107_btnDelete",%20"",%20true,%20"",%20"",%20false,%20true))
User Control: 
javascript:WebForm_DoPostBackWithOptions(new%20WebForm_PostBackOptions("RemindersGrid1$lbCreateReminder",%20"",%20true,%20"",%20"",%20false,%20true))
 
These are two completely different postback events, but what is interesting to me is w ...

Go to the complete details ...