| Dart Home | PowerWEB LiveControls for ASP.NET | Custom Development | Reply | PowerWEB LiveControls for ASP.NET Topics | Forums |
| Author | Forum: PowerWEB LiveControls for ASP.NET Topic: live controls in a usercontrol |
| bhupinder From: Nuernberg, Germany Posts: 14 Member Since: 06/22/06 |
posted February 8, 2007 10:53 AM Hi, I am trying to use live controls in a user control. If I use this user control alone everythings works fine, but if i try to use the controls in a live datagrid or adding dynamically to liveplaceholer. the control stops working. The events are being fired but the changes in the visibility of live controls don't happen. thanks |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted February 8, 2007 1:46 PM Hi, I added a LivePlaceHolder to my WebForm, created a UserControl with some Live controls, and loaded it into the LivePlaceHolder. I was able to toggle the visibility of the live controls without issue. Please provide exact steps for reproducing the issue. Thanks, -ken |
| bhupinder From: Nuernberg, Germany Posts: 14 Member Since: 06/22/06 |
posted February 12, 2007 5:25 AM Hi ken, thanks for your reply. You are right, it works out fine with liveplaceholder but unfortunately not with live datagrid. |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted February 12, 2007 2:33 PM Hi, You could try calling LiveDataGrid.Refresh at the end of your LiveControls' event handlers: ((Dart.PowerWEB.LiveControls.LiveDataGrid)Page.FindControl("LiveDataGrid1")).Refresh(); However, for this to work, you must disable the ViewState caching mechanism in the web.config. Otherwise, it will likely only work for the first callback, as there is an issue with Refresh. Hope it helps, -ken |
| Reply | PowerWEB LiveControls for ASP.NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|