| 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: LiveCallback Control cannot be hidden |
| RyanH From: Ottawa, ON Canada Posts: 29 Member Since: 06/27/06 |
posted July 26, 2006 4:13 PM I have two controls, say C1 and C2, that each use another control in common, say CC. CC has all the PowerWeb Live controls, specifically the LiveCallback control for custom callbacks: <dart:livecallback id="LiveCallback1" runat="server"></dart:livecallback> C2 needs to initially keep CC hidden and tries to do so by encapsulating it in a panel which is initially hidden. This generates an error message stating that the LiveCallback control cannot be hidden. I've tried to move the code given above out of CC and into C1 and C2 instead. Now, one of two things happen: 1. The pwBeginCallServerFunction function does not find the server callback function, or 2. the web browser crashes (IE7 crashes gracefully and asks to send a report; Firefox 1.5.0.4 seems to go on some kind of loop, uses up all the available memory and causes paging, computer has to be rebooted). What can I do? |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted July 27, 2006 12:37 PM I'm having a little trouble reproducing this behavior. Here is my test. Can you tell me what I need to do to see the error? .aspx code: <cc1:LiveButton id="LiveButton1" runat="server"></cc1:LiveButton> <cc1:LivePanel id="LivePanel1" runat="server" Width="496px" Height="392px" Visible="False"> LivePanel <cc1:LiveCallback id="LiveCallback1" runat="server"></cc1:LiveCallback> </cc1:LivePanel> .aspx.cs code: private void LiveButton1_Click(object sender, System.EventArgs e) { LivePanel1.Visible = !LivePanel1.Visible; } |
| RyanH From: Ottawa, ON Canada Posts: 29 Member Since: 06/27/06 |
posted July 28, 2006 11:47 AM Hmmm, after undoing some changes and rebuilding, the problem seems to have gone. I also upgraded to your latest build, which initially didn't seem to solve the problem, but maybe some projects just needed to be rebuilt. My apologies. |
| Reply | PowerWEB LiveControls for ASP.NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|