Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 10th, 2007, 04:14 AM
Registered User
 
Join Date: Mar 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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





Similar Threads
Thread Thread Starter Forum Replies Last Post
Need urgent help loading user controls at runtime rpeters83 ASP.NET 2.0 Professional 7 September 3rd, 2006 10:17 AM
Add Windows User control in Web User Control agarwalvidhu C# 0 March 30th, 2006 01:17 AM
Problem with loading user control multiple times neha mukerjee ASP.NET 2.0 Basics 0 February 24th, 2006 06:11 AM
Loading user control dynamically from code-behind jacob ASP.NET 1.0 and 1.1 Basics 2 April 12th, 2004 06:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.