|
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?
|
|
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!
|
|
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
|
|
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.
|
|