Welcome Guest Search | Active Topics | Sign In | Register

CallbackPanel not working with invisible controls within it Options
gmyroup
Posted: Tuesday, August 18, 2009 5:15:00 PM
Rank: Advanced Member
Groups: Member

Joined: 7/26/2009
Posts: 36
I have a CallBackPanel with a label in it whose visible property is initially set to False

I also have a button that is suppose to toggle the label's visible property from false to true and true to false depending on the label's current visible setting.

The callbackpanel works fine when the label's visible property is set to False... clicking the button toggles the visible property to true and the label appears as it should when I call the callbackpanel's update method. Unfortunately that is not the case if the label is already visible and I click the button in order to make the label invisible.

Here's the code for the button click:

If Label6.Visible = True Then
Label6.Visible = False
Else
Label6.Visible = True
End If
CallbackPanel1.Update()

Any thoughts as to why it doesn't update the label when I try to set it's visible property to False?
eo_support
Posted: Tuesday, August 18, 2009 6:27:46 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We tested this with the latest version and it works fine. So you may want to check your version first. If the problem persists, please create a test page and we will be happy to take a look.

Thanks!
gmyroup
Posted: Tuesday, August 18, 2009 8:08:22 PM
Rank: Advanced Member
Groups: Member

Joined: 7/26/2009
Posts: 36
Was there a problem with this? What's the latest version? I have 7.0.20.2
eo_support
Posted: Wednesday, August 19, 2009 8:35:32 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
No. We are not aware of such a problem. The latest is 7.0.24, but 7.0.20 should be new enough.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.