Thanks,....I tried that but without any success, Inside my web User Control I have another buttons that also have events. Also, the TargetControl ID only is aksing for a control that trigger it.And it is triggering the AnimationExtender.
My attempt to do it from codebehind:
The main problem is when I am trying to assign the id of the image button to animation extender control at that time during compilation process the user control may not have been loaded . So there is an exception saying control with ID 'create' could not be found . In order to avoid it the best possible way is to load the user control during the Page_init() method so that I can have full control on it during the Load() stage . Which I DID..but still I have this error:
Exception Details: System.InvalidOperationExc
Thanks for your help
Main Topics
Browse All Topics





by: CyrexCore2kPosted on 2008-11-10 at 14:23:48ID: 22926254
I don't think you can directly... at least without some major hack job.
Instead, just set the TargetControlID to your user control itself, then, add an event that is raised when the button inside the user control is clicked or whatever particular action you're waiting for.