loading user control with callback scripts in a cu
Hi,
I have a user control say "abc" which is using client callback script, then i have another user control which uses the "abc", let this control is "XYZ".
Now i have a custom control which is loading this "XYZ" user control using the code somewhat like this
Control XYZ= (Control)Page.LoadControl(
@"~/UserControls/Cricket/XYZ.ascx");
Type t = XYZ.GetType();
PropertyInfo pi = t.GetProperty("SomeProperty");
pi.SetValue(XYZ, "the value"
, null);
now , the problem is that though the custom control is rendering fine, but the callback script with user control is not working
can somebody tell me why, and what could be the workout....quick guys!
Thanks and Regards
brij
|