Sunday, March 11, 2012

Trying to use AJAX webservices to render usercontrols back to client

Check it outhttp://weblogs.asp.net/scottgu/archive/2006/10/22/Tip_2F00_Trick_3A00_-Cool-UI-Templating-Technique-to-use-with-ASP.NET-AJAX-for-non_2D00_UpdatePanel-scenarios.aspx


Thanx!

I solved my problem after reading this post in ScottGu's blog. Triggered my method like this:

Type controlType = ctrl.GetType();
MethodInfo m = controlType.GetMethod("methodname");
m.Invoke(ctrl,null);

Lars

No comments:

Post a Comment