Latest Development Blogs
Forum Topics Post
Browse By Tag
When I use WebFlyPostBackManager in UIInteraction.I want to refresh usercontrl(WebFlyPostBackManager1.ClientAction.RenderControl(WebUserControl)) .It doesn't work. when I pass WebFlyPostBackManager object into WebUserControl to use RenderControl on a specific control,it works.I want to know is that correct.
In my test a dynamically created panel that I created during PageLoad server side event handler could also be used in order to refresh the display.
However, a dynamically created panel during the execution of WebFlyPostBackMethod will not work. In that case, the parameter for the RenderControl would be the control which you attached the panel to, not the ASP Panel.
Unfortunately, our WebFlyPostBackManager have not support render control using WebUserControl. However, you could contain the WebUserControl in an ASP Panel and use the Panel object as the RenderControl parameter to refresh all the control in WebUserControl.
Another suggestion, if you do not prefer to pass the WebFlyPostBackManager you could manually select the modified control in the WebUserControl and invoke the RenderControl on the selected modified control.
Follow your suggestion, I contain the WebUserControl in an ASP Panel .However,when the panel is dynamically created,it doesn't work too.
Discover WebUI Studio® 2012
Get Started with WebUI Studio®
WebUI Studio® Edition
For ASP.NET Development
For Silverlight Development
For WPF Development
Learn More About ClientUI