[CLOSED] Programmatically load User Control from AJAXMethod
Hi There,
I have a slight issue, I am trying to load a User Control from serverside from and AJAXMethod but it is failing. This is the code that I am using to add the new User Control:
Code:
Control opControlToLoad = new Control();
opControlToLoad = this.LoadControl("~/Video/VideoUC.ascx");
this.PlaceHolderTest.Controls.Add(opControlToLoad);
This works fine on a conventional ASP.NET Page_Load but the User Control is not added when I call an AJAXMethod from clientside.
Thanks in advance
SamFoot
RE: [CLOSED] Programmatically load User Control from AJAXMethod
Hi,
It is not supported. Please use UpdatePanel for example
RE: [CLOSED] Programmatically load User Control from AJAXMethod
FYI, this functionality should be supported in the v1.0 release.
At the moment, no release date has been set for v1.0.
RE: [CLOSED] Programmatically load User Control from AJAXMethod
Thanks for the update, at the moment I changed my workflow to negate the issue but it would definitely be a feature that would be handy to see in v1.0.
Cheers for the update
Sam